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 gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.32ms] Passed 4 tests
A check of server-side resources used by Live Custom CSS JS Code Editor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.27 ▲1.00 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.17 ▼9.55 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.96 ▼4.97 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 87.67 ▼10.55 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.02 ▼0.22 |
Server storage [IO: ▲1.29MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 58 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Live Custom CSS JS Code Editor: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.23 ▼1.15 | 1.71 ▼0.07 | 38.20 ▼5.86 |
Dashboard /wp-admin | 2,206 ▲21 | 5.90 ▲1.04 | 103.28 ▼7.45 | 39.44 ▼3.40 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.03 | 42.01 ▲2.41 | 35.82 ▼0.04 |
Add New Post /wp-admin/post-new.php | 1,533 ▼2 | 22.96 ▼0.18 | 641.02 ▲4.72 | 60.91 ▼0.65 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.24 ▲0.02 | 96.01 ▼0.28 | 42.75 ▼1.19 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to a member function add_panel() on null in wp-content/plugins/live-css-js-code-editor/includes/class-live-code-editor-customizer-panel.php:20
- > PHP Notice
Undefined variable: wp_customize in wp-content/plugins/live-css-js-code-editor/includes/class-live-code-editor-customizer-panel.php on line 20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: live edit, footer, css, customizer, custom js...
live-css-js-code-editor/live-code-editor.php 92% from 13 tests
The primary PHP file in "Live Custom CSS JS Code Editor" version 1.0.5 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("live-css-js-code-editor.php" instead of "live-code-editor.php")
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
Good job! No executable or dangerous file extensions detected454 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 88 | 189 | 277 |
JavaScript | 47 | 39 | 3 | 158 |
CSS | 1 | 1 | 2 | 19 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 5.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 2 | 66.67% |
Methods | 11 | |
▷ Static methods | 7 | 63.64% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 1 | 9.09% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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 images were found in this plugin