Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼5.38ms] Passed 4 tests
Server-side resources used by Cool Admin Theme Lite for WP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 38.31 ▼1.34 |
Dashboard /wp-admin | 3.54 ▲0.19 | 48.52 ▼12.23 |
Posts /wp-admin/edit.php | 3.65 ▲0.30 | 50.44 ▲7.76 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 83.70 ▼11.55 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 41.40 ▲3.61 |
Cool Admin Theme Lite /wp-admin/options-general.php?page=catforwp | 3.43 | 33.31 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Cool Admin Theme Lite for WP
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲76 | 16.22 ▲1.59 | 1.74 ▼0.19 | 29.43 ▼14.88 |
Dashboard /wp-admin | 2,189 ▲1 | 6.84 ▲1.80 | 151.58 ▲34.72 | 47.88 ▲4.52 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 4.13 ▲2.14 | 90.82 ▲55.49 | 42.99 ▲8.71 |
Add New Post /wp-admin/post-new.php | 1,690 ▲169 | 26.29 ▲2.95 | 599.56 ▼65.46 | 27.12 ▼23.43 |
Media Library /wp-admin/upload.php | 1,374 ▼14 | 5.82 ▲1.70 | 129.90 ▲15.37 | 37.48 ▼11.77 |
Cool Admin Theme Lite /wp-admin/options-general.php?page=catforwp | 1,064 | 4.30 | 92.98 | 66.31 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: wordpress admin theme, cool admin theme for wordpress, wp admin theme
cool-admin-theme-lite-for-wp/cool-admin-theme-lite-for-wp.php 85% from 13 tests
The main PHP script in "Cool Admin Theme Lite for WP" version 1.0.0 is automatically included on every request by WordPress
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 216 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
There were no executable files found in this plugin3,559 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 248 | 35 | 2,292 |
PHP | 4 | 387 | 296 | 990 |
PO File | 2 | 88 | 93 | 259 |
JavaScript | 1 | 0 | 0 | 18 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 112.00 |
▷ Minimum class complexity | 112.00 |
▷ Maximum class complexity | 112.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 72 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 69 | 95.83% |
▷ Protected methods | 3 | 4.17% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 5 | 62.50% |
▷ Anonymous functions | 3 | 37.50% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin