Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.39ms] Passed 4 tests
Server-side resources used by Dessky Custom CSS
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.40 ▼6.85 |
Dashboard /wp-admin | 3.33 ▲0.03 | 52.68 ▼2.00 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.34 ▼3.15 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 84.35 ▼9.57 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.25 ▲4.36 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Dessky Custom CSS
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲9 | 14.33 ▼0.27 | 1.77 ▼0.42 | 43.34 ▼2.04 |
Dashboard /wp-admin | 2,202 ▲25 | 5.67 ▲0.05 | 82.93 ▼11.05 | 38.29 ▼6.04 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▼0.00 | 34.38 ▼3.88 | 34.07 ▼7.16 |
Add New Post /wp-admin/post-new.php | 1,538 ▲5 | 23.09 ▲0.03 | 664.82 ▼1.46 | 60.99 ▲10.98 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.24 ▲0.01 | 96.37 ▼5.15 | 44.40 ▲2.43 |
Dessky Custom CSS /wp-admin/dessky-custom-css.php | 26 | 0.42 | 0.10 | 13.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/dessky-custom-css.php
- > Network (severe)
wp-admin/dessky-custom-css.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Please delete some tags, you are using 22 tag instead of maximum 10
dessky-custom-css/dessky-custom-css.php Passed 13 tests
The entry point to "Dessky Custom CSS" version 1.1 is a PHP file that has certain tags in its header comment area
103 characters long description:
This lightweight plugin allows you to add custom CSS that overrides Plugins and Theme's default styles.
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
There were no executable files found in this plugin6,309 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 490 | 455 | 5,960 |
CSS | 1 | 31 | 22 | 214 |
PHP | 3 | 38 | 89 | 135 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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 files were detected