1495 lines
39 KiB
HTML
1495 lines
39 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||
|
<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
|
||
|
<head>
|
||
|
<meta content='text/html; charset=utf-8' http-equiv='Content-Type' />
|
||
|
<meta content='en' http-equiv='Content-Language' />
|
||
|
<title>metrics</title>
|
||
|
<style>
|
||
|
/*
|
||
|
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||
|
Code licensed under the BSD License:
|
||
|
http://developer.yahoo.net/yui/license.txt
|
||
|
version: 2.5.2
|
||
|
*/
|
||
|
html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym {border:0;font-variant:normal;}sup {vertical-align:text-top;}sub {vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}
|
||
|
|
||
|
/* --------------------------------------------------------------
|
||
|
|
||
|
buttons.css
|
||
|
* Gives you some great CSS-only buttons.
|
||
|
|
||
|
Created by Kevin Hale [particletree.com]
|
||
|
* particletree.com/features/rediscovering-the-button-element
|
||
|
|
||
|
See Readme.txt in this folder for instructions.
|
||
|
|
||
|
-------------------------------------------------------------- */
|
||
|
|
||
|
button {
|
||
|
display:block;
|
||
|
float:left;
|
||
|
margin:0 0.583em 0.667em 0;
|
||
|
padding:5px 10px 5px 7px; /* Links */
|
||
|
|
||
|
border:1px solid #dedede;
|
||
|
border-top:1px solid #eee;
|
||
|
border-left:1px solid #eee;
|
||
|
|
||
|
background-color:#f5f5f5;
|
||
|
font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
|
||
|
font-size:100%;
|
||
|
line-height:130%;
|
||
|
text-decoration:none;
|
||
|
font-weight:bold;
|
||
|
color:#565656;
|
||
|
cursor:pointer;
|
||
|
}
|
||
|
button {
|
||
|
width:auto;
|
||
|
overflow:visible;
|
||
|
padding:4px 10px 3px 7px; /* IE6 */
|
||
|
}
|
||
|
button[type] {
|
||
|
padding:4px 10px 4px 7px; /* Firefox */
|
||
|
line-height:17px; /* Safari */
|
||
|
}
|
||
|
*:first-child+html button[type] {
|
||
|
padding:4px 10px 3px 7px; /* IE7 */
|
||
|
}
|
||
|
button img {
|
||
|
margin:0 3px -3px 0 !important;
|
||
|
padding:0;
|
||
|
border:none;
|
||
|
width:16px;
|
||
|
height:16px;
|
||
|
float:none;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Button colors
|
||
|
-------------------------------------------------------------- */
|
||
|
|
||
|
/* Standard */
|
||
|
button:hover {
|
||
|
background-color:#dff4ff;
|
||
|
border:1px solid #c2e1ef;
|
||
|
color:#336699;
|
||
|
}
|
||
|
|
||
|
/* Positive */
|
||
|
body .positive {
|
||
|
color:#529214;
|
||
|
}
|
||
|
button.positive:hover {
|
||
|
background-color:#E6EFC2;
|
||
|
border:1px solid #C6D880;
|
||
|
color:#529214;
|
||
|
}
|
||
|
|
||
|
/* Negative */
|
||
|
body .negative {
|
||
|
color:#d12f19;
|
||
|
}
|
||
|
button.negative:hover {
|
||
|
background:#fbe3e4;
|
||
|
border:1px solid #fbc2c4;
|
||
|
color:#d12f19;
|
||
|
}
|
||
|
|
||
|
html {
|
||
|
background-color: #e0e0e0; }
|
||
|
|
||
|
body {
|
||
|
font-size: 100%;
|
||
|
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
|
||
|
color: #333333; }
|
||
|
|
||
|
a {
|
||
|
color: #ed1556;
|
||
|
text-decoration: none; }
|
||
|
a:hover {
|
||
|
color: #ffffff;
|
||
|
background-color: #ed1556; }
|
||
|
|
||
|
#header, #content, #footer {
|
||
|
margin: 0 auto;
|
||
|
background: #eeeeee;
|
||
|
padding: 0 2em;
|
||
|
z-index: 0;
|
||
|
position: relative;
|
||
|
font-size: 1em; }
|
||
|
|
||
|
#header {
|
||
|
background: #ffffff; }
|
||
|
#header h1 {
|
||
|
font-weight: bold;
|
||
|
font-size: 1.5em; }
|
||
|
#header address.watermark {
|
||
|
position: absolute;
|
||
|
font-weight: bold;
|
||
|
right: 3em;
|
||
|
top: 0;
|
||
|
font-size: .75em;
|
||
|
color: #cccccc; }
|
||
|
#header address.watermark a {
|
||
|
color: #cccccc;
|
||
|
font-weight: bold;
|
||
|
font-size: 2em; }
|
||
|
#header address.watermark a:hover {
|
||
|
background: transparent;
|
||
|
color: #aaaaaa; }
|
||
|
|
||
|
#content {
|
||
|
padding-top: 1em;
|
||
|
padding-bottom: 2em; }
|
||
|
#content strong {
|
||
|
font-weight: bold; }
|
||
|
#content em {
|
||
|
font-style: italic; }
|
||
|
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
|
||
|
color: #4e4e4e; }
|
||
|
#content h1 {
|
||
|
font-size: 2em;
|
||
|
font-weight: bold;
|
||
|
margin-bottom: .75em;
|
||
|
padding: .25em 0;
|
||
|
line-height: 1.2;
|
||
|
border-bottom: 1px solid #c0c0c0; }
|
||
|
#content h2 {
|
||
|
font-weight: bold;
|
||
|
font-size: 1.5em;
|
||
|
margin: 1em 0 .2em; }
|
||
|
#content h3 {
|
||
|
font-weight: bold;
|
||
|
font-size: 1.25em;
|
||
|
margin: .25em 0; }
|
||
|
#content h4, #content h5, #content h6 {
|
||
|
font-weight: bold;
|
||
|
margin-top: .5em; }
|
||
|
#content code, #content pre, #content textarea, #content input {
|
||
|
font-family: Monaco, Deja Vu Sans Mono, Inconsolata, Consolas, monospace; }
|
||
|
#content form p {
|
||
|
margin-top: 1em;
|
||
|
position: relative; }
|
||
|
#content form p.checkbox label {
|
||
|
margin-top: 0 !important; }
|
||
|
#content form input.text, #content form textarea {
|
||
|
width: 30em;
|
||
|
padding: .2em .4em;
|
||
|
color: #4e4e4e; }
|
||
|
#content form input.text {
|
||
|
height: 1.4em; }
|
||
|
#content form label {
|
||
|
float: left;
|
||
|
display: block;
|
||
|
margin-top: .5em;
|
||
|
width: 8em;
|
||
|
margin-right: .75em; }
|
||
|
#content form .with_errors label {
|
||
|
background: red;
|
||
|
color: white;
|
||
|
position: relative;
|
||
|
top: -.7em; }
|
||
|
#content form .with_errors.required label {
|
||
|
position: static;
|
||
|
margin-right: .25em;
|
||
|
padding: 0 .2em; }
|
||
|
#content form .with_errors input, #content form .with_errors textarea {
|
||
|
border: 2px solid #f22;
|
||
|
background: #fee;
|
||
|
color: #222222; }
|
||
|
#content form .required label {
|
||
|
float: none;
|
||
|
display: block;
|
||
|
width: auto;
|
||
|
position: relative;
|
||
|
font-weight: bold;
|
||
|
margin-top: 1em;
|
||
|
text-indent: -.65em; }
|
||
|
#content form .required label:before {
|
||
|
content: "* ";
|
||
|
color: #ed1556; }
|
||
|
#content form .required input.text {
|
||
|
width: 25.6em;
|
||
|
font-size: 24px;
|
||
|
font-weight: bold; }
|
||
|
#content form .normal {
|
||
|
margin-top: 2em; }
|
||
|
#content form h2.notifier label {
|
||
|
float: none;
|
||
|
width: auto;
|
||
|
margin-right: 0; }
|
||
|
#content form h2.notifier label .warning {
|
||
|
font-size: .5em;
|
||
|
font-weight: normal;
|
||
|
color: #999999; }
|
||
|
#content form fieldset {
|
||
|
padding-bottom: 1em;
|
||
|
margin-left: 1.35em;
|
||
|
border-bottom: 1px solid #c0c0c0;
|
||
|
margin-bottom: 1em; }
|
||
|
#content form fieldset h3 {
|
||
|
margin-top: 1em;
|
||
|
margin-bottom: 0; }
|
||
|
#content form fieldset p.normal {
|
||
|
margin-top: 1em; }
|
||
|
#content form fieldset p label {
|
||
|
width: 6.7em; }
|
||
|
#content form p.submit {
|
||
|
margin-top: 2em; }
|
||
|
#content form p.submit:after {
|
||
|
display: block;
|
||
|
clear: both;
|
||
|
float: none;
|
||
|
content: ".";
|
||
|
text-indent: -9999em;
|
||
|
text-align: left; }
|
||
|
#content form p.submit.destroy button, #content form p.submit.manual-build button {
|
||
|
float: none;
|
||
|
display: inline; }
|
||
|
#content form p.submit.manual-build button {
|
||
|
margin-right: 0; }
|
||
|
#content #build form, #content #last_build form {
|
||
|
font-size: .75em; }
|
||
|
#content #build form p.submit, #content #last_build form p.submit {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
position: absolute;
|
||
|
right: .5em;
|
||
|
top: 1.25em; }
|
||
|
#content .blank_slate p, #content .error p {
|
||
|
position: relative;
|
||
|
top: .3em; }
|
||
|
#content .blank_slate h1, #content .error h1 {
|
||
|
border-width: 0;
|
||
|
margin: 0;
|
||
|
padding: 0; }
|
||
|
#content .blank_slate h1 button, #content .error h1 button {
|
||
|
float: none;
|
||
|
border: 0 none;
|
||
|
background: transparent;
|
||
|
display: inline;
|
||
|
color: #ed1556;
|
||
|
padding: 0.25em 0;
|
||
|
margin: 0; }
|
||
|
#content .blank_slate h1 button:hover, #content .error h1 button:hover {
|
||
|
background: #ed1556;
|
||
|
color: #ffffff; }
|
||
|
#content .error dt {
|
||
|
margin-top: 1.4em;
|
||
|
margin-bottom: .3em;
|
||
|
font-size: 1.75em;
|
||
|
font-family: Georgia, Times New Roman, serif; }
|
||
|
#content .error dd {
|
||
|
line-height: 1.4; }
|
||
|
#content .error .backtrace {
|
||
|
margin: 1em 0;
|
||
|
overflow: scroll;
|
||
|
height: 30em;
|
||
|
border: 1px solid #c0c0c0;
|
||
|
line-height: 1.6; }
|
||
|
#content #projects {
|
||
|
margin: 1em 0 2em;
|
||
|
border-top: 1px solid #c0c0c0; }
|
||
|
#content #projects li {
|
||
|
position: relative;
|
||
|
border-bottom: 1px solid #c0c0c0; }
|
||
|
#content #projects li.odd {
|
||
|
background: #e6e6e6; }
|
||
|
#content #projects li.building {
|
||
|
background: transparent url(/spinner.gif) no-repeat scroll right; }
|
||
|
#content #projects li a {
|
||
|
font-size: 2em;
|
||
|
padding: .25em;
|
||
|
line-height: 1.2;
|
||
|
font-weight: bold;
|
||
|
display: block; }
|
||
|
#content #projects li a.success {
|
||
|
color: #337022; }
|
||
|
#content #projects li a.failed {
|
||
|
color: #ff1100; }
|
||
|
#content #projects li .meta {
|
||
|
position: absolute;
|
||
|
right: .6em;
|
||
|
top: 1.5em;
|
||
|
font-size: 0.8em;
|
||
|
color: #999999;
|
||
|
text-align: right; }
|
||
|
#content #projects li.building .meta {
|
||
|
right: 1.6em; }
|
||
|
#content #projects li.success .meta {
|
||
|
color: #337022; }
|
||
|
#content #projects li.failed .meta {
|
||
|
color: #ff1100; }
|
||
|
#content #previous_builds li a {
|
||
|
display: block;
|
||
|
padding: .25em;
|
||
|
margin-bottom: .25em;
|
||
|
border-width: 1px;
|
||
|
border-style: solid; }
|
||
|
#content #previous_builds li a strong {
|
||
|
font-size: 1.3em; }
|
||
|
#content #previous_builds li a .attribution {
|
||
|
font-size: .9em; }
|
||
|
#content #projects li.success a, #content #previous_builds li.success a {
|
||
|
background-color: #bbf8aa;
|
||
|
border-color: #99d688;
|
||
|
color: #337022; }
|
||
|
#content #projects li.success a .attribution, #content #previous_builds li.success a .attribution {
|
||
|
color: #77b466; }
|
||
|
#content #projects li.success a:hover, #content #previous_builds li.success a:hover {
|
||
|
background-color: #ddffcc; }
|
||
|
#content #projects li.failed a, #content #previous_builds li.failed a {
|
||
|
background-color: #ffbbaa;
|
||
|
border-color: #dd9988;
|
||
|
color: #ff1100; }
|
||
|
#content #projects li.failed a .attribution, #content #previous_builds li.failed a .attribution {
|
||
|
color: #bb7766; }
|
||
|
#content #projects li.failed a:hover, #content #previous_builds li.failed a:hover {
|
||
|
background-color: #ffddcc; }
|
||
|
#content #build, #content #last_build {
|
||
|
position: relative; }
|
||
|
#content #build h1, #content #build blockquote, #content #last_build h1, #content #last_build blockquote {
|
||
|
border-width: 0 1px;
|
||
|
border-style: solid; }
|
||
|
#content #build h1, #content #last_build h1 {
|
||
|
border-top-width: 1px; }
|
||
|
#content #build blockquote, #content #last_build blockquote {
|
||
|
bottom-bottom-width: 1px;
|
||
|
line-height: 1.4; }
|
||
|
#content #build.success h1, #content #build.success blockquote, #content #last_build.success h1, #content #last_build.success blockquote {
|
||
|
background-color: #bbf8aa;
|
||
|
border-color: #99d688 #ccffbb #ccffbb #99d688; }
|
||
|
#content #build.success h1, #content #last_build.success h1 {
|
||
|
color: #337022; }
|
||
|
#content #build.success .meta, #content #last_build.success .meta {
|
||
|
color: #77b466; }
|
||
|
#content #build.failed h1, #content #build.failed blockquote, #content #last_build.failed h1, #content #last_build.failed blockquote {
|
||
|
background-color: #ffbbaa;
|
||
|
border-color: #dd9988 #ffccbb #ffccbb #dd9988; }
|
||
|
#content #build.failed h1, #content #last_build.failed h1 {
|
||
|
color: #ff1100; }
|
||
|
#content #build.failed .meta, #content #last_build.failed .meta {
|
||
|
color: #bb7766; }
|
||
|
#content #build h1, #content #last_build h1 {
|
||
|
margin-top: .5em;
|
||
|
margin-bottom: 0;
|
||
|
padding: .25em;
|
||
|
color: #337022; }
|
||
|
#content #build blockquote, #content #last_build blockquote {
|
||
|
padding: .75em;
|
||
|
margin-bottom: 2em; }
|
||
|
#content #build blockquote .meta, #content #last_build blockquote .meta {
|
||
|
margin-top: 1em;
|
||
|
display: block;
|
||
|
font-size: .9em; }
|
||
|
#content #build pre.output, #content #last_build pre.output {
|
||
|
background: #111;
|
||
|
color: #fff;
|
||
|
padding: .5em;
|
||
|
overflow: auto;
|
||
|
max-height: 50em;
|
||
|
font-size: .825em; }
|
||
|
#content #build pre.output .color30, #content #last_build pre.output .color30 {
|
||
|
color: #333; }
|
||
|
#content #build pre.output .color31, #content #last_build pre.output .color31 {
|
||
|
color: #e33; }
|
||
|
#content #build pre.output .color32, #content #last_build pre.output .color32 {
|
||
|
color: #3e3; }
|
||
|
#content #build pre.output .color33, #content #last_build pre.output .color33 {
|
||
|
color: #ee3; }
|
||
|
#content #build pre.output .color34, #content #last_build pre.output .color34 {
|
||
|
color: #33e; }
|
||
|
#content #build pre.output .color35, #content #last_build pre.output .color35 {
|
||
|
color: #e3e; }
|
||
|
#content #build pre.output .color36, #content #last_build pre.output .color36 {
|
||
|
color: #3ee; }
|
||
|
#content #build pre.output .color37, #content #last_build pre.output .color37 {
|
||
|
color: #fff; }
|
||
|
#content #push_path {
|
||
|
display: block;
|
||
|
margin-top: 1em;
|
||
|
margin-left: 2em; }
|
||
|
#content div#graph {
|
||
|
width: 100%;
|
||
|
height: 600px; }
|
||
|
|
||
|
a.success {
|
||
|
color: #bbf8aa; }
|
||
|
a.success:hover {
|
||
|
background-color: #bbf8aa;
|
||
|
color: white; }
|
||
|
a.failed {
|
||
|
color: #ffbbaa; }
|
||
|
a.failed:hover {
|
||
|
background-color: #ffbbaa;
|
||
|
color: white; }
|
||
|
|
||
|
#footer {
|
||
|
padding: 1.5em 2.5em;
|
||
|
border-top: 1px solid #ccc;
|
||
|
font-size: .8em;
|
||
|
color: #666;
|
||
|
text-align: right; }
|
||
|
#footer strong {
|
||
|
font-weight: bold; }
|
||
|
|
||
|
table {
|
||
|
margin-top: 20px;
|
||
|
border-collapse: collapse;
|
||
|
border: 1px solid #666;
|
||
|
background: #fff;
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
table tr.light {
|
||
|
background: #fff;
|
||
|
}
|
||
|
|
||
|
table tr.dark {
|
||
|
background: #f9f9f9;
|
||
|
}
|
||
|
|
||
|
table tr:hover {
|
||
|
background: #FFFFC0;
|
||
|
}
|
||
|
|
||
|
table td, table th {
|
||
|
padding: 4px;
|
||
|
font-size: 11px;
|
||
|
}
|
||
|
table th {
|
||
|
text-align: center;
|
||
|
color: #337022;
|
||
|
background: #DDFFCC;
|
||
|
font-weight: bold;
|
||
|
border: #99D688 1px solid;
|
||
|
}
|
||
|
|
||
|
table td {
|
||
|
border: #d0d0d0 1px solid;
|
||
|
}
|
||
|
|
||
|
table td.score {
|
||
|
text-align: right;
|
||
|
}
|
||
|
|
||
|
.warning {
|
||
|
background: yellow;
|
||
|
}
|
||
|
|
||
|
.bluff-tooltip {
|
||
|
background: #fff;
|
||
|
border: 1px solid #d1edf5;
|
||
|
padding: 8px 8px 6px;
|
||
|
}
|
||
|
.bluff-tooltip .color {
|
||
|
display: block;
|
||
|
height: 4px;
|
||
|
width: 30px;
|
||
|
margin: 0 0 4px;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
.bluff-tooltip .data {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
</style>
|
||
|
<link REL="SHORTCUT ICON" HREF="/favicon.ico">
|
||
|
<script language="javascript" src="utils.js" type="text/javascript"></script>
|
||
|
<script language="javascript" src="js-class.js" type="text/javascript"></script>
|
||
|
<script language="javascript" src="bluff-min.js" type="text/javascript"></script>
|
||
|
<script language="javascript" src="excanvas.js" type="text/javascript"></script>
|
||
|
<script language="javascript" src="standalone-framework.js" type="text/javascript"></script>
|
||
|
<script language="javascript" src="highcharts.js" type="text/javascript"></script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id='header'>
|
||
|
<h1><a href="/">metrics</a> | <a href="index.html">ambition</a></h1>
|
||
|
<address class='watermark'>
|
||
|
built with
|
||
|
<a href='https://github.com/metricfu/metric_fu'>MetricFu</a>
|
||
|
</address>
|
||
|
</div>
|
||
|
<div id='content'>
|
||
|
<h3>Reek Results</h3>
|
||
|
|
||
|
<p><a href="http://github.com/troessner/reek">Reek</a> detects common code smells in ruby code.</p>
|
||
|
|
||
|
<div id="graph_container"></div>
|
||
|
<script language="javascript" src="reek.js?1483411518" type="text/javascript"></script>
|
||
|
|
||
|
<table>
|
||
|
<tr>
|
||
|
<th>File Path</th>
|
||
|
<th>Method</th>
|
||
|
<th>Description</th>
|
||
|
<th>Type</th>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/application_controller.rb'>app/controllers/application_controller.rb</a></td>
|
||
|
<td>
|
||
|
ApplicationController
|
||
|
</td>
|
||
|
<td>
|
||
|
has no descriptive comment
|
||
|
</td>
|
||
|
<td>
|
||
|
IrresponsibleModule
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/application_controller.rb'>app/controllers/application_controller.rb</a></td>
|
||
|
<td>
|
||
|
ApplicationController#current_user
|
||
|
</td>
|
||
|
<td>
|
||
|
calls session[:user_id] 2 times
|
||
|
</td>
|
||
|
<td>
|
||
|
DuplicateMethodCall
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/models/comment.rb'>app/models/comment.rb</a></td>
|
||
|
<td>
|
||
|
Comment#user_id_exist
|
||
|
</td>
|
||
|
<td>
|
||
|
performs a nil-check
|
||
|
</td>
|
||
|
<td>
|
||
|
NilCheck
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/models/mission.rb'>app/models/mission.rb</a></td>
|
||
|
<td>
|
||
|
Mission
|
||
|
</td>
|
||
|
<td>
|
||
|
has no descriptive comment
|
||
|
</td>
|
||
|
<td>
|
||
|
IrresponsibleModule
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/models/mission.rb'>app/models/mission.rb</a></td>
|
||
|
<td>
|
||
|
Mission#project_exists
|
||
|
</td>
|
||
|
<td>
|
||
|
performs a nil-check
|
||
|
</td>
|
||
|
<td>
|
||
|
NilCheck
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/missions_controller.rb'>app/controllers/missions_controller.rb</a></td>
|
||
|
<td>
|
||
|
MissionsController
|
||
|
</td>
|
||
|
<td>
|
||
|
has no descriptive comment
|
||
|
</td>
|
||
|
<td>
|
||
|
IrresponsibleModule
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/missions_controller.rb'>app/controllers/missions_controller.rb</a></td>
|
||
|
<td>
|
||
|
MissionsController#commentPublish
|
||
|
</td>
|
||
|
<td>
|
||
|
has approx 7 statements
|
||
|
</td>
|
||
|
<td>
|
||
|
TooManyStatements
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/missions_controller.rb'>app/controllers/missions_controller.rb</a></td>
|
||
|
<td>
|
||
|
MissionsController#commentPublish
|
||
|
</td>
|
||
|
<td>
|
||
|
has the name 'commentPublish'
|
||
|
</td>
|
||
|
<td>
|
||
|
UncommunicativeMethodName
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/missions_controller.rb'>app/controllers/missions_controller.rb</a></td>
|
||
|
<td>
|
||
|
MissionsController#create
|
||
|
</td>
|
||
|
<td>
|
||
|
calls user_enties.id 2 times
|
||
|
</td>
|
||
|
<td>
|
||
|
DuplicateMethodCall
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/missions_controller.rb'>app/controllers/missions_controller.rb</a></td>
|
||
|
<td>
|
||
|
MissionsController#create
|
||
|
</td>
|
||
|
<td>
|
||
|
has approx 14 statements
|
||
|
</td>
|
||
|
<td>
|
||
|
TooManyStatements
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/missions_controller.rb'>app/controllers/missions_controller.rb</a></td>
|
||
|
<td>
|
||
|
MissionsController#detail
|
||
|
</td>
|
||
|
<td>
|
||
|
has approx 14 statements
|
||
|
</td>
|
||
|
<td>
|
||
|
TooManyStatements
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/missions_controller.rb'>app/controllers/missions_controller.rb</a></td>
|
||
|
<td>
|
||
|
MissionsController#detail
|
||
|
</td>
|
||
|
<td>
|
||
|
has the variable name 'c'
|
||
|
</td>
|
||
|
<td>
|
||
|
UncommunicativeVariableName
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/missions_controller.rb'>app/controllers/missions_controller.rb</a></td>
|
||
|
<td>
|
||
|
MissionsController#detail
|
||
|
</td>
|
||
|
<td>
|
||
|
refers to mission more than self
|
||
|
</td>
|
||
|
<td>
|
||
|
FeatureEnvy
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/missions_controller.rb'>app/controllers/missions_controller.rb</a></td>
|
||
|
<td>
|
||
|
MissionsController#getlist
|
||
|
</td>
|
||
|
<td>
|
||
|
has approx 7 statements
|
||
|
</td>
|
||
|
<td>
|
||
|
TooManyStatements
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/missions_controller.rb'>app/controllers/missions_controller.rb</a></td>
|
||
|
<td>
|
||
|
MissionsController#update
|
||
|
</td>
|
||
|
<td>
|
||
|
calls user_enties.id 2 times
|
||
|
</td>
|
||
|
<td>
|
||
|
DuplicateMethodCall
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/missions_controller.rb'>app/controllers/missions_controller.rb</a></td>
|
||
|
<td>
|
||
|
MissionsController#update
|
||
|
</td>
|
||
|
<td>
|
||
|
has approx 17 statements
|
||
|
</td>
|
||
|
<td>
|
||
|
TooManyStatements
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/models/missions_user.rb'>app/models/missions_user.rb</a></td>
|
||
|
<td>
|
||
|
Missions_user
|
||
|
</td>
|
||
|
<td>
|
||
|
has no descriptive comment
|
||
|
</td>
|
||
|
<td>
|
||
|
IrresponsibleModule
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/models/missions_user.rb'>app/models/missions_user.rb</a></td>
|
||
|
<td>
|
||
|
Missions_user#mission_exist
|
||
|
</td>
|
||
|
<td>
|
||
|
performs a nil-check
|
||
|
</td>
|
||
|
<td>
|
||
|
NilCheck
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/models/missions_user.rb'>app/models/missions_user.rb</a></td>
|
||
|
<td>
|
||
|
Missions_user#user_exist
|
||
|
</td>
|
||
|
<td>
|
||
|
performs a nil-check
|
||
|
</td>
|
||
|
<td>
|
||
|
NilCheck
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/models/note.rb'>app/models/note.rb</a></td>
|
||
|
<td>
|
||
|
Note
|
||
|
</td>
|
||
|
<td>
|
||
|
has no descriptive comment
|
||
|
</td>
|
||
|
<td>
|
||
|
IrresponsibleModule
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/models/note.rb'>app/models/note.rb</a></td>
|
||
|
<td>
|
||
|
Note#project_exist
|
||
|
</td>
|
||
|
<td>
|
||
|
performs a nil-check
|
||
|
</td>
|
||
|
<td>
|
||
|
NilCheck
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/models/note.rb'>app/models/note.rb</a></td>
|
||
|
<td>
|
||
|
Note#user_exist
|
||
|
</td>
|
||
|
<td>
|
||
|
performs a nil-check
|
||
|
</td>
|
||
|
<td>
|
||
|
NilCheck
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/notes_controller.rb'>app/controllers/notes_controller.rb</a></td>
|
||
|
<td>
|
||
|
NotesController
|
||
|
</td>
|
||
|
<td>
|
||
|
has no descriptive comment
|
||
|
</td>
|
||
|
<td>
|
||
|
IrresponsibleModule
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/notes_controller.rb'>app/controllers/notes_controller.rb</a></td>
|
||
|
<td>
|
||
|
NotesController#getNotesList
|
||
|
</td>
|
||
|
<td>
|
||
|
calls n.created_at 2 times
|
||
|
</td>
|
||
|
<td>
|
||
|
DuplicateMethodCall
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/notes_controller.rb'>app/controllers/notes_controller.rb</a></td>
|
||
|
<td>
|
||
|
NotesController#getNotesList
|
||
|
</td>
|
||
|
<td>
|
||
|
calls n.created_at.to_s 2 times
|
||
|
</td>
|
||
|
<td>
|
||
|
DuplicateMethodCall
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/notes_controller.rb'>app/controllers/notes_controller.rb</a></td>
|
||
|
<td>
|
||
|
NotesController#getNotesList
|
||
|
</td>
|
||
|
<td>
|
||
|
has approx 13 statements
|
||
|
</td>
|
||
|
<td>
|
||
|
TooManyStatements
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/notes_controller.rb'>app/controllers/notes_controller.rb</a></td>
|
||
|
<td>
|
||
|
NotesController#getNotesList
|
||
|
</td>
|
||
|
<td>
|
||
|
has the name 'getNotesList'
|
||
|
</td>
|
||
|
<td>
|
||
|
UncommunicativeMethodName
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/notes_controller.rb'>app/controllers/notes_controller.rb</a></td>
|
||
|
<td>
|
||
|
NotesController#getNotesList
|
||
|
</td>
|
||
|
<td>
|
||
|
has the variable name 'h'
|
||
|
</td>
|
||
|
<td>
|
||
|
UncommunicativeVariableName
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/notes_controller.rb'>app/controllers/notes_controller.rb</a></td>
|
||
|
<td>
|
||
|
NotesController#getNotesList
|
||
|
</td>
|
||
|
<td>
|
||
|
has the variable name 'k'
|
||
|
</td>
|
||
|
<td>
|
||
|
UncommunicativeVariableName
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/notes_controller.rb'>app/controllers/notes_controller.rb</a></td>
|
||
|
<td>
|
||
|
NotesController#getNotesList
|
||
|
</td>
|
||
|
<td>
|
||
|
has the variable name 'n'
|
||
|
</td>
|
||
|
<td>
|
||
|
UncommunicativeVariableName
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/notes_controller.rb'>app/controllers/notes_controller.rb</a></td>
|
||
|
<td>
|
||
|
NotesController#getNotesList
|
||
|
</td>
|
||
|
<td>
|
||
|
has the variable name 'v'
|
||
|
</td>
|
||
|
<td>
|
||
|
UncommunicativeVariableName
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/notes_controller.rb'>app/controllers/notes_controller.rb</a></td>
|
||
|
<td>
|
||
|
NotesController#getNotesList
|
||
|
</td>
|
||
|
<td>
|
||
|
refers to n more than self
|
||
|
</td>
|
||
|
<td>
|
||
|
FeatureEnvy
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/models/project.rb'>app/models/project.rb</a></td>
|
||
|
<td>
|
||
|
Project
|
||
|
</td>
|
||
|
<td>
|
||
|
has no descriptive comment
|
||
|
</td>
|
||
|
<td>
|
||
|
IrresponsibleModule
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/projects_controller.rb'>app/controllers/projects_controller.rb</a></td>
|
||
|
<td>
|
||
|
ProjectsController
|
||
|
</td>
|
||
|
<td>
|
||
|
has no descriptive comment
|
||
|
</td>
|
||
|
<td>
|
||
|
IrresponsibleModule
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/projects_controller.rb'>app/controllers/projects_controller.rb</a></td>
|
||
|
<td>
|
||
|
ProjectsController#addUsers
|
||
|
</td>
|
||
|
<td>
|
||
|
has approx 14 statements
|
||
|
</td>
|
||
|
<td>
|
||
|
TooManyStatements
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/projects_controller.rb'>app/controllers/projects_controller.rb</a></td>
|
||
|
<td>
|
||
|
ProjectsController#addUsers
|
||
|
</td>
|
||
|
<td>
|
||
|
has the name 'addUsers'
|
||
|
</td>
|
||
|
<td>
|
||
|
UncommunicativeMethodName
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/projects_controller.rb'>app/controllers/projects_controller.rb</a></td>
|
||
|
<td>
|
||
|
ProjectsController#addUsers
|
||
|
</td>
|
||
|
<td>
|
||
|
performs a nil-check
|
||
|
</td>
|
||
|
<td>
|
||
|
NilCheck
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/projects_controller.rb'>app/controllers/projects_controller.rb</a></td>
|
||
|
<td>
|
||
|
ProjectsController#deleteUsers
|
||
|
</td>
|
||
|
<td>
|
||
|
has approx 14 statements
|
||
|
</td>
|
||
|
<td>
|
||
|
TooManyStatements
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/projects_controller.rb'>app/controllers/projects_controller.rb</a></td>
|
||
|
<td>
|
||
|
ProjectsController#deleteUsers
|
||
|
</td>
|
||
|
<td>
|
||
|
has the name 'deleteUsers'
|
||
|
</td>
|
||
|
<td>
|
||
|
UncommunicativeMethodName
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/projects_controller.rb'>app/controllers/projects_controller.rb</a></td>
|
||
|
<td>
|
||
|
ProjectsController#deleteUsers
|
||
|
</td>
|
||
|
<td>
|
||
|
performs a nil-check
|
||
|
</td>
|
||
|
<td>
|
||
|
NilCheck
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/projects_controller.rb'>app/controllers/projects_controller.rb</a></td>
|
||
|
<td>
|
||
|
ProjectsController#detail
|
||
|
</td>
|
||
|
<td>
|
||
|
has approx 9 statements
|
||
|
</td>
|
||
|
<td>
|
||
|
TooManyStatements
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/projects_controller.rb'>app/controllers/projects_controller.rb</a></td>
|
||
|
<td>
|
||
|
ProjectsController#detail
|
||
|
</td>
|
||
|
<td>
|
||
|
has the variable name 'i'
|
||
|
</td>
|
||
|
<td>
|
||
|
UncommunicativeVariableName
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/projects_controller.rb'>app/controllers/projects_controller.rb</a></td>
|
||
|
<td>
|
||
|
ProjectsController#index
|
||
|
</td>
|
||
|
<td>
|
||
|
has approx 10 statements
|
||
|
</td>
|
||
|
<td>
|
||
|
TooManyStatements
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/projects_controller.rb'>app/controllers/projects_controller.rb</a></td>
|
||
|
<td>
|
||
|
ProjectsController#index
|
||
|
</td>
|
||
|
<td>
|
||
|
has the variable name 'i'
|
||
|
</td>
|
||
|
<td>
|
||
|
UncommunicativeVariableName
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/projects_controller.rb'>app/controllers/projects_controller.rb</a></td>
|
||
|
<td>
|
||
|
ProjectsController#index
|
||
|
</td>
|
||
|
<td>
|
||
|
has the variable name 'p'
|
||
|
</td>
|
||
|
<td>
|
||
|
UncommunicativeVariableName
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/models/projects_user.rb'>app/models/projects_user.rb</a></td>
|
||
|
<td>
|
||
|
Projects_user
|
||
|
</td>
|
||
|
<td>
|
||
|
has no descriptive comment
|
||
|
</td>
|
||
|
<td>
|
||
|
IrresponsibleModule
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/models/projects_user.rb'>app/models/projects_user.rb</a></td>
|
||
|
<td>
|
||
|
Projects_user#project_exists
|
||
|
</td>
|
||
|
<td>
|
||
|
performs a nil-check
|
||
|
</td>
|
||
|
<td>
|
||
|
NilCheck
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/models/projects_user.rb'>app/models/projects_user.rb</a></td>
|
||
|
<td>
|
||
|
Projects_user#user_exists
|
||
|
</td>
|
||
|
<td>
|
||
|
performs a nil-check
|
||
|
</td>
|
||
|
<td>
|
||
|
NilCheck
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/sessions_controller.rb'>app/controllers/sessions_controller.rb</a></td>
|
||
|
<td>
|
||
|
SessionsController
|
||
|
</td>
|
||
|
<td>
|
||
|
has no descriptive comment
|
||
|
</td>
|
||
|
<td>
|
||
|
IrresponsibleModule
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/models/share.rb'>app/models/share.rb</a></td>
|
||
|
<td>
|
||
|
Share
|
||
|
</td>
|
||
|
<td>
|
||
|
has no descriptive comment
|
||
|
</td>
|
||
|
<td>
|
||
|
IrresponsibleModule
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/models/share.rb'>app/models/share.rb</a></td>
|
||
|
<td>
|
||
|
Share#project_exists
|
||
|
</td>
|
||
|
<td>
|
||
|
performs a nil-check
|
||
|
</td>
|
||
|
<td>
|
||
|
NilCheck
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/models/share.rb'>app/models/share.rb</a></td>
|
||
|
<td>
|
||
|
Share#user_exists
|
||
|
</td>
|
||
|
<td>
|
||
|
performs a nil-check
|
||
|
</td>
|
||
|
<td>
|
||
|
NilCheck
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/shares_controller.rb'>app/controllers/shares_controller.rb</a></td>
|
||
|
<td>
|
||
|
SharesController
|
||
|
</td>
|
||
|
<td>
|
||
|
has no descriptive comment
|
||
|
</td>
|
||
|
<td>
|
||
|
IrresponsibleModule
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/shares_controller.rb'>app/controllers/shares_controller.rb</a></td>
|
||
|
<td>
|
||
|
SharesController#create
|
||
|
</td>
|
||
|
<td>
|
||
|
has approx 11 statements
|
||
|
</td>
|
||
|
<td>
|
||
|
TooManyStatements
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/shares_controller.rb'>app/controllers/shares_controller.rb</a></td>
|
||
|
<td>
|
||
|
SharesController#create
|
||
|
</td>
|
||
|
<td>
|
||
|
has the variable name 'i'
|
||
|
</td>
|
||
|
<td>
|
||
|
UncommunicativeVariableName
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/shares_controller.rb'>app/controllers/shares_controller.rb</a></td>
|
||
|
<td>
|
||
|
SharesController#getShareList
|
||
|
</td>
|
||
|
<td>
|
||
|
calls i.content 2 times
|
||
|
</td>
|
||
|
<td>
|
||
|
DuplicateMethodCall
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/shares_controller.rb'>app/controllers/shares_controller.rb</a></td>
|
||
|
<td>
|
||
|
SharesController#getShareList
|
||
|
</td>
|
||
|
<td>
|
||
|
has approx 7 statements
|
||
|
</td>
|
||
|
<td>
|
||
|
TooManyStatements
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/shares_controller.rb'>app/controllers/shares_controller.rb</a></td>
|
||
|
<td>
|
||
|
SharesController#getShareList
|
||
|
</td>
|
||
|
<td>
|
||
|
has the name 'getShareList'
|
||
|
</td>
|
||
|
<td>
|
||
|
UncommunicativeMethodName
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/shares_controller.rb'>app/controllers/shares_controller.rb</a></td>
|
||
|
<td>
|
||
|
SharesController#getShareList
|
||
|
</td>
|
||
|
<td>
|
||
|
has the variable name 'i'
|
||
|
</td>
|
||
|
<td>
|
||
|
UncommunicativeVariableName
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/shares_controller.rb'>app/controllers/shares_controller.rb</a></td>
|
||
|
<td>
|
||
|
SharesController#getShareList
|
||
|
</td>
|
||
|
<td>
|
||
|
refers to i more than self
|
||
|
</td>
|
||
|
<td>
|
||
|
FeatureEnvy
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/models/user.rb'>app/models/user.rb</a></td>
|
||
|
<td>
|
||
|
User
|
||
|
</td>
|
||
|
<td>
|
||
|
has no descriptive comment
|
||
|
</td>
|
||
|
<td>
|
||
|
IrresponsibleModule
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/users_controller.rb'>app/controllers/users_controller.rb</a></td>
|
||
|
<td>
|
||
|
UsersController
|
||
|
</td>
|
||
|
<td>
|
||
|
has no descriptive comment
|
||
|
</td>
|
||
|
<td>
|
||
|
IrresponsibleModule
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/users_controller.rb'>app/controllers/users_controller.rb</a></td>
|
||
|
<td>
|
||
|
UsersController#checkExist?
|
||
|
</td>
|
||
|
<td>
|
||
|
doesn't depend on instance state
|
||
|
</td>
|
||
|
<td>
|
||
|
UtilityFunction
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/users_controller.rb'>app/controllers/users_controller.rb</a></td>
|
||
|
<td>
|
||
|
UsersController#checkExist?
|
||
|
</td>
|
||
|
<td>
|
||
|
has the name 'checkExist?'
|
||
|
</td>
|
||
|
<td>
|
||
|
UncommunicativeMethodName
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='light'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/users_controller.rb'>app/controllers/users_controller.rb</a></td>
|
||
|
<td>
|
||
|
UsersController#emailExist
|
||
|
</td>
|
||
|
<td>
|
||
|
has the name 'emailExist'
|
||
|
</td>
|
||
|
<td>
|
||
|
UncommunicativeMethodName
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
<tr class='dark'>
|
||
|
<td><a href='file:///home/ccx/RubymineProjects/ambition/app/controllers/users_controller.rb'>app/controllers/users_controller.rb</a></td>
|
||
|
<td>
|
||
|
UsersController#usernameExist
|
||
|
</td>
|
||
|
<td>
|
||
|
has the name 'usernameExist'
|
||
|
</td>
|
||
|
<td>
|
||
|
UncommunicativeMethodName
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</table>
|
||
|
|
||
|
<p>Generated on 2017-01-03 10:45:18 +0800</p>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<script language="javascript" src="bluff_graph.js" type="text/javascript"></script>
|
||
|
</body>
|
||
|
</html>
|