collapse
26%
W説明%
Number of gendarme violations is 3,69626
テスト結果: 2,682個のテスト中、0個のテストに失敗しました。100
ビルドの安定性: 最近のビルドは失敗してません。100
ビルド履歴
x
 29:25
2.3.0.187
(リビジョン 1693)
 28:08
2.3.0.186
(リビジョン 1691)
 27:47
2.3.0.185
(リビジョン 1689)
 24:04
2.3.0.184
(リビジョン 1688)
 23:38
2.3.0.183
(リビジョン 1686)
 x22:24
2.3.0.182
(リビジョン 1685)
 25:53
2.3.0.181
(リビジョン 1681)
 23:33
2.3.0.180
(リビジョン 1663)
 26:06
2.3.0.179
(リビジョン 1661)
 21:51
2.3.0.178
(リビジョン 1659)
 22:01
2.3.0.177
(リビジョン 1658)
 21:58
2.3.0.176
(リビジョン 1656)
 27:50
2.3.0.175
(リビジョン 1654)
 24:08
2.3.0.174
(リビジョン 1653)
 21:32
2.3.0.173
(リビジョン 1651)
 26:11
2.3.0.172
(リビジョン 1650)
 27:27
2.3.0.171
(リビジョン 1647)
 28:06
2.3.0.170
(リビジョン 1643)
 19:07
2.3.0.169
(リビジョン 1642)
 21:30
2.3.0.168
(リビジョン 1641)
 21:46
2.3.0.167
(リビジョン 1640)
 19:48
2.3.0.166
(リビジョン 1639)
 20:17
2.3.0.165
(リビジョン 1630)
 22:04
2.3.0.164
(リビジョン 1628)
 24:32
2.3.0.163
(リビジョン 1627)
 59:11
2.3.0.162
(リビジョン 1624)
 16:47
2.3.0.158
(リビジョン 1623)
 17:52
2.3.0.157
(リビジョン 1622)
 18:58
2.3.0.156
(リビジョン 1621)
 19:11
2.3.0.155
(リビジョン 1620)

WaitHandler.ashx.cs

fxcop   1 violation
71
Medium Low
Severity Medium Low
Class Design#CA1062
Detail 外部から参照可能なメソッドに渡された参照引数はすべて、null (VB では Nothing) に対してチェックされる必要があります。適切であれば、引数が null の場合には System.ArgumentNullException をスローしてください。
パブリック メソッドの引数の検証 - 外部から参照可能なメソッド 'WaitHandler.ProcessRequest(HttpContext)' で、パラメーター 'context' を使用前に検証してください。

gendarme   2 violations
70
High
Severity High
Class CheckParametersNullityInVisibleMethodsRule
Detail A visible method does not check its parameter(s) for null values.
CheckParametersNullityInVisibleMethodsRule - A visible method does not check its parameter(s) for null values.
Solution: Since the caller is unknown you should always verify all of your parameters to protect yourself.
Confidence: Normal
70
Medium
Severity Medium
Class AvoidRepetitiveCallsToPropertiesRule
Detail This method calls several times into the same properties. This is expensive for virtual properties or when the property cannot be inlined.
AvoidRepetitiveCallsToPropertiesRule - This method calls several times into the same properties. This is expensive for virtual properties or when the property cannot be inlined.
Solution: Unless a different value is expected from each call, refactor your code to avoid the multiple calls by caching the returned value.
Confidence: Normal

File: WaitHandler.ashx.cs Lines 61 to 81
61        /// <see cref="IHttpHandler"/> インターフェイスを実装するカスタム
62        /// HttpHandler によって、HTTP Web 要求の処理を有効にします。
63        /// </summary>
64        /// <param name="context">
65        /// HTTP 要求を処理するために使用する、組み込みのサーバー オブジェクト
66        /// (Request、Response、Session、Server など) への参照を提供する
67        /// <see cref="HttpContext"/> オブジェクト。
68        /// </param>
69        public void ProcessRequest(HttpContext context)
Visual Studio 2010
Type Class Description
gendarme CheckParametersNullityInVisibleMethodsRule A visible method does not check its parameter(s) for null values.
gendarme AvoidRepetitiveCallsToPropertiesRule This method calls several times into the same properties. This is expensive for virtual properties or when the property cannot be inlined.
70
Type Class Description
gendarme CheckParametersNullityInVisibleMethodsRule A visible method does not check its parameter(s) for null values.
gendarme AvoidRepetitiveCallsToPropertiesRule This method calls several times into the same properties. This is expensive for virtual properties or when the property cannot be inlined.
        {
Visual Studio 2010
Type Class Description
fxcop Design#CA1062 外部から参照可能なメソッドに渡された参照引数はすべて、null (VB では Nothing) に対してチェックされる必要があります。適切であれば、引数が null の場合には System.ArgumentNullException をスローしてください。
71
Type Class Description
fxcop Design#CA1062 外部から参照可能なメソッドに渡された参照引数はすべて、null (VB では Nothing) に対してチェックされる必要があります。適切であれば、引数が null の場合には System.ArgumentNullException をスローしてください。
            context.Response.ContentType = "text/plain; charset=UTF-8";
72
73            string timeoutString = context.Request["timeout"];
74            int timeout;
75            if (timeoutString == null
76                || !int.TryParse(timeoutString, NumberStyles.Integer, CultureInfo.InvariantCulture, out timeout)
77                || timeout < 0)
78            {
79                context.Response.StatusCode = (int)HttpStatusCode.BadRequest;
80                context.Response.Write("Invalid request");
81                return;
 

Sources/WebApplication/Hosting/WaitHandler.ashx.cs

fxcop   1 violation
Visual Studio 201071
Medium Low
Severity Medium Low
Class Design#CA1062
Detail 外部から参照可能なメソッドに渡された参照引数はすべて、null (VB では Nothing) に対してチェックされる必要があります。適切であれば、引数が null の場合には System.ArgumentNullException をスローしてください。
パブリック メソッドの引数の検証 - 外部から参照可能なメソッド 'WaitHandler.ProcessRequest(HttpContext)' で、パラメーター 'context' を使用前に検証してください。

gendarme   2 violations
Visual Studio 201070
High
Severity High
Class CheckParametersNullityInVisibleMethodsRule
Detail A visible method does not check its parameter(s) for null values.
CheckParametersNullityInVisibleMethodsRule - A visible method does not check its parameter(s) for null values.
Solution: Since the caller is unknown you should always verify all of your parameters to protect yourself.
Confidence: Normal
Visual Studio 201070
Medium
Severity Medium
Class AvoidRepetitiveCallsToPropertiesRule
Detail This method calls several times into the same properties. This is expensive for virtual properties or when the property cannot be inlined.
AvoidRepetitiveCallsToPropertiesRule - This method calls several times into the same properties. This is expensive for virtual properties or when the property cannot be inlined.
Solution: Unless a different value is expected from each call, refactor your code to avoid the multiple calls by caching the returned value.
Confidence: Normal

File: WaitHandler.ashx.cs Lines 61 to 81
61        /// <see cref="IHttpHandler"/> インターフェイスを実装するカスタム
62        /// HttpHandler によって、HTTP Web 要求の処理を有効にします。
63        /// </summary>
64        /// <param name="context">
65        /// HTTP 要求を処理するために使用する、組み込みのサーバー オブジェクト
66        /// (Request、Response、Session、Server など) への参照を提供する
67        /// <see cref="HttpContext"/> オブジェクト。
68        /// </param>
69        public void ProcessRequest(HttpContext context)
Visual Studio 2010
Type Class Description
gendarme CheckParametersNullityInVisibleMethodsRule A visible method does not check its parameter(s) for null values.
gendarme AvoidRepetitiveCallsToPropertiesRule This method calls several times into the same properties. This is expensive for virtual properties or when the property cannot be inlined.
70
Type Class Description
gendarme CheckParametersNullityInVisibleMethodsRule A visible method does not check its parameter(s) for null values.
gendarme AvoidRepetitiveCallsToPropertiesRule This method calls several times into the same properties. This is expensive for virtual properties or when the property cannot be inlined.
        {
Visual Studio 2010
Type Class Description
fxcop Design#CA1062 外部から参照可能なメソッドに渡された参照引数はすべて、null (VB では Nothing) に対してチェックされる必要があります。適切であれば、引数が null の場合には System.ArgumentNullException をスローしてください。
71
Type Class Description
fxcop Design#CA1062 外部から参照可能なメソッドに渡された参照引数はすべて、null (VB では Nothing) に対してチェックされる必要があります。適切であれば、引数が null の場合には System.ArgumentNullException をスローしてください。
            context.Response.ContentType = "text/plain; charset=UTF-8";
72
73            string timeoutString = context.Request["timeout"];
74            int timeout;
75            if (timeoutString == null
76                || !int.TryParse(timeoutString, NumberStyles.Integer, CultureInfo.InvariantCulture, out timeout)
77                || timeout < 0)
78            {
79                context.Response.StatusCode = (int)HttpStatusCode.BadRequest;
80                context.Response.Write("Invalid request");
81                return;