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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 60.58 ▲5.10 |
Dashboard /wp-admin | 3.41 ▲0.00 | 44.41 ▲5.95 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 41.28 ▼0.23 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 96.46 ▼1,207.14 |
Media Library /wp-admin/upload.php | 3.29 ▲0.00 | 33.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,809 ▲65 | 16.17 ▲0.20 | 6.74 ▼0.07 | 2.54 ▲0.18 |
Dashboard /wp-admin | 2,921 ▲41 | 6.49 ▲0.05 | 150.35 ▲11.24 | 178.21 ▲16.73 |
Posts /wp-admin/edit.php | 2,694 ▲3 | 3.43 ▼0.00 | 63.02 ▼5.97 | 144.59 ▼4.69 |
Add New Post /wp-admin/post-new.php | 1,752 ▼0 | 21.88 ▲0.71 | 437.63 ▼24.31 | 152.58 ▼8.85 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.71 ▲0.00 | 155.22 ▲15.40 | 187.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
- > PHP Fatal error
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 27 | 28 | 105 |
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 code | 0.77 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 5.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 57.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 42.86% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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