Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼11.43ms] Passed 4 tests
Analyzing server-side resources used by Sublime Custom CSS Editor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.41 ▼0.05 | 28.25 ▼14.13 |
Dashboard /wp-admin | 3.34 ▼0.01 | 49.83 ▼16.23 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 58.15 ▲8.66 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 89.59 ▼14.83 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.70 ▼0.53 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sublime Custom CSS Editor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.35 ▼0.01 | 1.71 ▲0.09 | 42.47 ▼0.01 |
Dashboard /wp-admin | 2,196 ▲18 | 5.54 ▼0.14 | 87.59 ▼15.77 | 40.73 ▼3.50 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▼0.01 | 39.19 ▲1.40 | 37.06 ▲3.97 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.29 ▲0.17 | 749.45 ▲0.64 | 61.30 ▲2.90 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.24 ▲0.04 | 98.90 ▼2.94 | 42.05 ▼3.76 |
Sublime Custom CSS /wp-admin/sublime-custom-css-editor.php | 26 | 0.42 | 0.14 | 15.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/sublime-custom-css-editor/inc/sublimecsse_function.php
- > /wp-content/plugins/sublime-custom-css-editor/sublime-custom-css-editor.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/sublime-custom-css-editor.php
- > Network (severe)
wp-admin/sublime-custom-css-editor.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: css, css3, sublime, custom css, sublime text...
sublime-custom-css-editor/sublime-custom-css-editor.php 92% from 13 tests
The primary PHP file in "Sublime Custom CSS Editor" version 1.0.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- 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 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin10,659 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 15 | 1,151 | 1,041 | 10,129 |
CSS | 6 | 64 | 26 | 405 |
PHP | 2 | 28 | 36 | 125 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 8 | |
▷ Named functions | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin