jhuesser/bzu-jodel-clone

View on GitHub
user/mod.php

Summary

Maintainability
B
4 hrs
Test Coverage

Showing 2 of 2 total issues

File mod.php has 271 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php
session_start();
//Include functions & meta data
require '../functions/apicalls.php';
require '../functions/jodelmeta.php';
Severity: Minor
Found in user/mod.php - About 2 hrs to fix

Identical blocks of code found in 2 locations. Consider refactoring.
Open

if(!isset($comment['imageIDFK'])){
echo $comment['comment'];
} else {
$imageurl = $apiroot . "images?transform=1&filter=imageID,eq," . $comment['imageIDFK'];
$imagejson = getCall($imageurl);
Severity: Major
Found in user/mod.php and 1 other location - About 1 hr to fix
comments.php on lines 186..196

There are no issues that match your filters.

Category
Status