Benchmarks
Plugin footprint 65% 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.31MB] [CPU: ▼4.85ms] Passed 4 tests
An overview of server-side resources used by WOW Best CSS Compiler
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 32.27 ▼13.77 |
Dashboard /wp-admin | 3.69 ▲0.34 | 53.11 ▼9.18 |
Posts /wp-admin/edit.php | 3.73 ▲0.37 | 56.41 ▲7.04 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.33 | 87.47 ▼3.50 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 41.33 ▲8.22 |
CSS Compiler /wp-admin/admin.php?page=best-css-compiler | 3.56 | 39.75 |
Server storage [IO: ▲9.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 525 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_best_css_compiler_data |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WOW Best CSS Compiler
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,139 ▲393 | 20.40 ▲6.12 | 1.95 ▲0.03 | 42.83 ▼0.15 |
Dashboard /wp-admin | 2,523 ▲335 | 10.88 ▲5.98 | 221.82 ▲101.65 | 38.81 ▼7.87 |
Posts /wp-admin/edit.php | 2,431 ▲345 | 7.48 ▲5.46 | 95.64 ▲59.13 | 36.54 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,635 ▲102 | 20.80 ▼2.22 | 729.73 ▲76.70 | 35.14 ▼14.52 |
Media Library /wp-admin/upload.php | 1,564 ▲182 | 8.68 ▲4.45 | 119.42 ▲20.70 | 41.13 ▼1.32 |
Compiler Settings /wp-admin/crb_carbon_fields_container_compiler_settings.php | 26 | 0.44 | 0.12 | 13.57 |
CSS Compiler /wp-admin/admin.php?page=best-css-compiler | 1,252 | 7.27 | 74.40 | 25.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_best_css_compiler_data
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/best-css-compiler/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 130× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Carbon_Fields\\Datastore\\Datastore_Interface' not found in wp-content/plugins/best-css-compiler/vendor/htmlburger/carbon-fields/core/Datastore/Datastore.php:12
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Comparer\\Comparer' not found in wp-content/plugins/best-css-compiler/vendor/htmlburger/carbon-fields/core/Container/Condition/Comparer/Scalar_Comparer.php:7
- > PHP Fatal error
Uncaught Error: Interface 'ScssPhp\\ScssPhp\\Exception\\SassException' not found in wp-content/plugins/best-css-compiler/vendor/scssphp/scssphp/src/Exception/ParserException.php:22
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/best-css-compiler/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Ancestor_ID_Condition.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Date_Field' not found in wp-content/plugins/best-css-compiler/vendor/htmlburger/carbon-fields/core/Field/Time_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Predefined_Options_Field' not found in wp-content/plugins/best-css-compiler/vendor/htmlburger/carbon-fields/core/Field/Multiselect_Field.php:13
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/best-css-compiler/vendor/htmlburger/carbon-fields/core/Container/Condition/Blog_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Interface 'ScssPhp\\ScssPhp\\Exception\\SassException' not found in wp-content/plugins/best-css-compiler/vendor/scssphp/scssphp/src/Exception/ServerException.php:24
- > PHP Fatal error
Uncaught Error: Class 'ScssPhp\\ScssPhp\\Formatter' not found in wp-content/plugins/best-css-compiler/vendor/scssphp/scssphp/src/Formatter/Compact.php:26
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/best-css-compiler/vendor/htmlburger/carbon-fields/core/Field/Html_Field.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/crb_carbon_fields_container_compiler_settings.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_compiler_settings.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=best-css-compiler
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,moxiejs,plupload,wp-codemirror&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of undefined (reading 'value')" "TypeError: Cannot read properties of undefined (reading 'value')\n at Function.fg [as fromTextArea] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,moxiejs,plupload,wp-codemirror&ver=6.3.1:34:31506)\n at d.codeEditor.initialize (/wp-admin/js/code-editor.min.js?ver=6.3.1:2:1977)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/best-css-compiler/admin/js/admin.js?ver=2.0.2:33:16)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,moxiejs,plupload,wp-codemirror&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,moxiejs,plupload,wp-codemirror&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=best-css-compiler
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,underscore,moxiejs,plupload,wp-codemirror&ver=6.3.1 33:31505 Uncaught TypeError: Cannot read properties of undefined (reading 'value')
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== best-css-compiler ===
) - Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in best-css-compiler/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
best-css-compiler/nguyen-app.php 85% from 13 tests
The main PHP file in "WOW Best CSS Compiler" ver. 2.0.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 197 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("best-css-compiler.php" instead of "nguyen-app.php")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin39,846 lines of code in 468 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 201 | 5,837 | 11,915 | 20,457 |
JavaScript | 172 | 5,190 | 8,459 | 12,966 |
PO File | 26 | 819 | 1,020 | 2,202 |
CSS | 10 | 337 | 1,144 | 1,784 |
Sass | 48 | 339 | 0 | 1,769 |
JSON | 5 | 0 | 0 | 531 |
Markdown | 5 | 52 | 0 | 131 |
XML | 1 | 1 | 5 | 6 |
PHP code 0% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
The following items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 1,431)
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 199)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 21.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,431.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 199.00 |
Code structure | ||
---|---|---|
Namespaces | 32 | |
Interfaces | 7 | |
Traits | 0 | |
Classes | 165 | |
▷ Abstract classes | 13 | 7.88% |
▷ Concrete classes | 152 | 92.12% |
▷ Final classes | 4 | 2.63% |
Methods | 1,449 | |
▷ Static methods | 137 | 9.45% |
▷ Public methods | 928 | 64.04% |
▷ Protected methods | 470 | 32.44% |
▷ Private methods | 51 | 3.52% |
Functions | 129 | |
▷ Named functions | 24 | 18.60% |
▷ Anonymous functions | 105 | 81.40% |
Constants | 103 | |
▷ Global constants | 8 | 7.77% |
▷ Class constants | 95 | 92.23% |
▷ Public constants | 95 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/icon.png | 4.67KB | 1.93KB | ▼ 58.64% |