Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.78ms] Passed 4 tests
A check of server-side resources used by wp-admin classic
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 48.16 ▲7.23 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.71 ▲1.77 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.14 ▼4.26 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 92.30 ▼0.83 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 34.11 ▼3.79 |
Server storage [IO: ▲1.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 141 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
wp-admin classic: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,783 ▲37 | 13.26 ▼1.14 | 1.66 ▼0.22 | 43.81 ▼2.92 |
Dashboard /wp-admin | 2,199 ▲8 | 4.87 ▼1.03 | 96.80 ▼5.05 | 23.86 ▼20.22 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.04 ▲0.05 | 38.69 ▲4.36 | 29.91 ▼7.56 |
Add New Post /wp-admin/post-new.php | 6,252 ▲4,719 | 21.65 ▼1.51 | 866.84 ▲178.88 | 31.96 ▼25.18 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.17 ▼0.09 | 94.31 ▼18.33 | 17.42 ▼28.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-admin-classic/wpadmin-classic.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 ("Classic" WP Admin theme running on WordPress 3.8) image missing
wp-admin-classic/wpadmin-classic.php 92% from 13 tests
The primary PHP file in "wp-admin classic" version 1.0.8 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-admin-classic.php" instead of "wpadmin-classic.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected19,869 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 45 | 4,246 | 1,107 | 19,770 |
PHP | 1 | 24 | 25 | 99 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
73 PNG files occupy 0.38MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/align-right.png | 0.50KB | 0.57KB | 0.00% |
images/arrows-dark-vs-2x.png | 0.74KB | 0.78KB | 0.00% |
images/post-formats32.png | 7.65KB | 5.04KB | ▼ 34.03% |
images/icons32-vs-2x.png | 37.10KB | 21.51KB | ▼ 42.03% |
images/press-this.png | 0.41KB | 0.44KB | 0.00% |