84% fsm-backend-category-organizer

Code Review | FSM Backend Category Organizer

WordPress plugin FSM Backend Category Organizer scored 84% from 54 tests.

About plugin

  • Plugin page: fsm-backend-categ...
  • Plugin version: 1.15
  • PHP version: 7.4.16
  • WordPress version: 5.8.1
  • First release: Jul 31, 2017
  • Latest release: Oct 19, 2018
  • Number of updates: 19
  • Update frequency: every 23.5 days
  • Top authors: fesomia (100%)

Code review

54 tests

User reviews

1 review

Install metrics

70+ active / 1,281 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.11MB] [CPU: ▼141.21ms] Passed 4 tests

Server-side resources used by FSM Backend Category Organizer
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.93 ▲0.1042.60 ▲10.50
Dashboard /wp-admin3.17 ▲0.1244.77 ▲5.87
Posts /wp-admin/edit.php3.29 ▲0.1845.03 ▼0.98
Add New Post /wp-admin/post-new.php5.54 ▲0.1085.92 ▼572.72
Media Library /wp-admin/upload.php3.12 ▲0.1135.40 ▲2.99
FSM Backend Category Organizer /wp-admin/options-general.php?page=category-organizer3.0834.38

Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 1 new option
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for FSM Backend Category Organizer
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,716 ▲12015.98 ▲0.488.03 ▼2.1345.70 ▼5.29
Dashboard /wp-admin2,986 ▲556.28 ▲0.18142.52 ▼7.33120.23 ▼1.24
Posts /wp-admin/edit.php2,749 ▲102.76 ▲0.0668.59 ▲3.1590.71 ▼2.41
Add New Post /wp-admin/post-new.php1,615 ▲1118.82 ▲0.24361.51 ▲5.77106.98 ▼0.18
Media Library /wp-admin/upload.php1,820 ▲105.12 ▲0.09144.72 ▼26.32121.30 ▲4.71
FSM Backend Category Organizer /wp-admin/options-general.php?page=category-organizer1,1232.6174.3499.56

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 1 option
    • category_children

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/fsm-backend-category-organizer/fsm-backend-category-organizer.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
  • Requires at least: The plugin version is formatted incorrectly
You can look at the official readme.txt

fsm-backend-category-organizer/fsm-backend-category-organizer.php 92% from 13 tests

The main file in "FSM Backend Category Organizer" v. 1.15 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Description: Please keep the plugin description shorter than 140 characters (currently 151 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,268 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PO File22026120

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity27.50
▷ Minimum class complexity7.00
▷ Maximum class complexity48.00
Average method complexity3.41
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods22100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions4100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected