10% simplify-admin-panel

Code Review | Simplify Admin Panel

WordPress plugin Simplify Admin Panel scored 10% from 54 tests.

About plugin

  • Plugin page: simplify-admin-panel
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-3.5.2
  • WordPress version: 5.9.2
  • First release: Jul 14, 2013
  • Latest release: Jul 14, 2013
  • Number of updates: 3
  • Update frequency: every 5.3 days
  • Top authors: johnellmore (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,133 total downloads

Benchmarks

Plugin footprint 75% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
  • Install procedure had errors
    • > Compile error in wp-content/plugins/simplify-admin-panel/wp-simplify-admin-panel.php+109
    'continue' not in the 'loop' or 'switch' context

Server metrics [RAM: ▼0.02MB] [CPU: ▼299.53ms] Passed 4 tests

This is a short check of server-side resources used by Simplify Admin Panel
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0160.58 ▲5.10
Dashboard /wp-admin3.41 ▲0.0044.41 ▲5.95
Posts /wp-admin/edit.php3.64 ▲0.0041.28 ▼0.23
Add New Post /wp-admin/post-new.php6.88 ▼0.0996.46 ▼1,207.14
Media Library /wp-admin/upload.php3.29 ▲0.0033.34 ▲4.15

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Simplify Admin Panel: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,809 ▲6516.17 ▲0.206.74 ▼0.072.54 ▲0.18
Dashboard /wp-admin2,921 ▲416.49 ▲0.05150.35 ▲11.24178.21 ▲16.73
Posts /wp-admin/edit.php2,694 ▲33.43 ▼0.0063.02 ▼5.97144.59 ▼4.69
Add New Post /wp-admin/post-new.php1,752 ▼021.88 ▲0.71437.63 ▼24.31152.58 ▼8.85
Media Library /wp-admin/upload.php1,698 ▼05.71 ▲0.00155.22 ▲15.40187.38 ▲0.83

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      'continue' not in the 'loop' or 'switch' context in wp-content/plugins/simplify-admin-panel/wp-simplify-admin-panel.php on line 109

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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: multisite, cleanup, menu, dashboard, network

simplify-admin-panel/wp-simplify-admin-panel.php 92% from 13 tests

The main PHP script in "Simplify Admin Panel" version 1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("simplify-admin-panel.php" instead of "wp-simplify-admin-panel.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected105 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP12728105

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.77
Average class complexity31.00
▷ Minimum class complexity31.00
▷ Maximum class complexity31.00
Average method complexity5.29
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods7
▷ Static methods00.00%
▷ Public methods457.14%
▷ Protected methods00.00%
▷ Private methods342.86%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin