Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼9.46ms] Passed 4 tests
A check of server-side resources used by Legacy Jetpack Custom CSS Editor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 50.02 ▲4.66 |
Dashboard /wp-admin | 3.35 ▲0.01 | 49.31 ▼10.30 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.52 ▼2.91 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 84.14 ▼26.46 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.24 ▲1.85 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Legacy Jetpack Custom CSS Editor: 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 / | 2,789 ▲43 | 14.27 ▼0.39 | 1.62 ▼0.62 | 37.55 ▼1.85 |
Dashboard /wp-admin | 2,189 ▲11 | 5.51 ▼0.11 | 84.80 ▼17.92 | 38.75 ▼4.20 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.94 ▼0.07 | 39.71 ▼1.28 | 36.40 ▼0.46 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.68 ▲0.64 | 692.76 ▲56.88 | 44.26 ▼7.18 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.23 ▲0.03 | 101.65 ▲2.64 | 44.55 ▼2.29 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/legacy-jetpack-custom-css-editor/legacy-jetpack-custom-css-editor.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tested up to: The plugin version is formatted incorrectly
legacy-jetpack-custom-css-editor/legacy-jetpack-custom-css-editor.php Passed 13 tests
The main file in "Legacy Jetpack Custom CSS Editor" v. 0.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
69 characters long description:
This plugin re-adds the full page admin Custom CSS editor to Jetpack.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin344 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 41 | 269 |
JavaScript | 1 | 7 | 3 | 75 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 5.67 |
▷ Minimum method complexity | 2.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 | 6 | |
▷ Static methods | 6 | 100.00% |
▷ Public methods | 6 | 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
There were not PNG files found in your plugin