Benchmarks
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
This plugin's installer ran successfully
Server metrics [RAM: ▼5.64MB] [CPU: ▼1,151,238.01ms] Passed 4 tests
This is a short check of server-side resources used by Slate Admin Theme
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▼22.77 | 53.97 ▼4,604,930.25 |
Dashboard /wp-admin | 3.41 ▲0.02 | 53.72 ▼17.46 |
Posts /wp-admin/edit.php | 3.54 ▲0.14 | 51.18 ▲0.09 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.05 | 91.15 ▼4.42 |
Media Library /wp-admin/upload.php | 3.48 ▲0.20 | 49.66 ▲12.09 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Slate Admin Theme
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,879 ▲108 | 14.23 ▲0.04 | 1.83 ▼0.19 | 29.64 ▼9.14 |
Dashboard /wp-admin | 2,263 ▲89 | 5.63 ▲0.05 | 96.38 ▲3.78 | 46.74 ▲6.65 |
Posts /wp-admin/edit.php | 2,175 ▲78 | 2.04 ▲0.05 | 35.67 ▼1.37 | 32.88 ▼5.21 |
Add New Post /wp-admin/post-new.php | 1,694 ▲166 | 22.06 ▼0.99 | 693.63 ▼12.44 | 40.10 ▼16.49 |
Media Library /wp-admin/upload.php | 1,460 ▲66 | 4.22 ▲0.01 | 98.11 ▲0.63 | 40.27 ▼4.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 2× 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/slate-admin-theme/slate-admin-theme.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function slate_get_user_admin_color() in wp-content/plugins/slate-admin-theme/css/dynamic.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (20 tag instead of maximum 10); only the first 5 tags are used in your directory listing
slate-admin-theme/slate-admin-theme.php Passed 13 tests
"Slate Admin Theme" version 1.2.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
41 characters long description:
A clean, simplified WordPress Admin theme
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin1,811 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 1 | 93 | 36 | 1,705 |
JavaScript | 1 | 13 | 19 | 56 |
PHP | 2 | 7 | 9 | 46 |
CSS | 2 | 0 | 0 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.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
No PNG images were found in this plugin