Showing 7 of 7 total issues
Method OnPost
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public IActionResult OnPost()
{
if (!ModelState.IsValid)
return Page();
session.SetInt32("_Class", Convert.ToInt32(Class));
Method ComparisonMatrix
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static (double, double, double)[,] ComparisonMatrix(int[] values)
{
int i;
#region Validation
Method OnGet
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void OnGet()
{
_Query = new Query(SchoolService)
{
Class = session.GetInt32("_Class") ?? 10,
Method Get
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[HttpGet("{numbers}")]
public ActionResult<IEnumerable<double>> Get(string numbers)
{
int[] values;
try
Method RunFAHP
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private double[] RunFAHP()
{
(double, double, double) temp;
// Step 1 : Geometric Mean
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return true;