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.07MB] [CPU: ▼6.37ms] Passed 4 tests
A check of server-side resources used by Custom CSS for Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 37.07 ▼1.65 |
Dashboard /wp-admin | 3.39 ▲0.04 | 45.52 ▼12.19 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 44.48 ▼0.78 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 84.04 ▼10.87 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.17 ▲3.41 |
Server storage [IO: ▲0.94MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 111 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Custom CSS for Elementor: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲47 | 14.27 ▼0.26 | 1.58 ▼0.01 | 40.22 ▼0.95 |
Dashboard /wp-admin | 2,217 ▲36 | 5.62 ▼0.07 | 83.04 ▼16.79 | 36.89 ▼1.58 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.01 ▼0.01 | 35.05 ▼0.83 | 35.21 ▼0.24 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.34 ▲0.18 | 648.21 ▲1.27 | 59.46 ▼0.40 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.21 ▲0.03 | 99.14 ▲3.67 | 44.42 ▲0.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please take a closer look at the following
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/custom-css-for-elementor/vendor/wikimedia/utfnormal/scripts/generate.php
- > /wp-content/plugins/custom-css-for-elementor/vendor/wikimedia/utfnormal/scripts/memstress.php
- > /wp-content/plugins/custom-css-for-elementor/vendor/wikimedia/utfnormal/scripts/benchmark.php
- 51× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Wikimedia\\CSS\\Objects\\CSSObjectList' not found in wp-content/plugins/custom-css-for-elementor/vendor/wikimedia/css-sanitizer/src/Objects/TokenList.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Wikimedia\\CSS\\Objects\\CSSObject' not found in wp-content/plugins/custom-css-for-elementor/vendor/wikimedia/css-sanitizer/src/Objects/ComponentValue.php:12
- > PHP Fatal error
Uncaught Error: Class 'Wikimedia\\CSS\\Sanitizer\\Sanitizer' not found in wp-content/plugins/custom-css-for-elementor/vendor/wikimedia/css-sanitizer/src/Sanitizer/StylesheetSanitizer.php:19
- > PHP Fatal error
Uncaught Error: Class 'Wikimedia\\CSS\\Sanitizer\\RuleSanitizer' not found in wp-content/plugins/custom-css-for-elementor/vendor/wikimedia/css-sanitizer/src/Sanitizer/PageAtRuleSanitizer.php:30
- > PHP Fatal error
Uncaught Error: Class 'Wikimedia\\CSS\\Sanitizer\\RuleSanitizer' not found in wp-content/plugins/custom-css-for-elementor/vendor/wikimedia/css-sanitizer/src/Sanitizer/KeyframesAtRuleSanitizer.php:23
- > PHP Fatal error
Uncaught Error: Class 'Wikimedia\\CSS\\Grammar\\Matcher' not found in wp-content/plugins/custom-css-for-elementor/vendor/wikimedia/css-sanitizer/src/Grammar/NoWhitespace.php:15
- > PHP Fatal error
Uncaught Error: Class 'Wikimedia\\CSS\\Objects\\ComponentValue' not found in wp-content/plugins/custom-css-for-elementor/vendor/wikimedia/css-sanitizer/src/Objects/SimpleBlock.php:14
- > PHP Fatal error
Uncaught Error: Class 'Wikimedia\\CSS\\Grammar\\Matcher' not found in wp-content/plugins/custom-css-for-elementor/vendor/wikimedia/css-sanitizer/src/Grammar/Alternative.php:16
- > PHP Fatal error
Uncaught Error: Class 'Wikimedia\\CSS\\Grammar\\Matcher' not found in wp-content/plugins/custom-css-for-elementor/vendor/wikimedia/css-sanitizer/src/Grammar/FunctionMatcher.php:24
- > PHP Fatal error
Uncaught Error: Class 'Wikimedia\\CSS\\Grammar\\Matcher' not found in wp-content/plugins/custom-css-for-elementor/vendor/wikimedia/css-sanitizer/src/Grammar/NothingMatcher.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 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
5 plugin tags: custom css, elementor addons, responsive css, elementor, css
custom-css-for-elementor/custom-css-for-elementor.php Passed 13 tests
Analyzing the main PHP file in "Custom CSS for Elementor" version 2.0.0
129 characters long description:
A lightweight plugin that open an option to add custom CSS code for each device (desktop, tablets, mobiles) by elementor widgets.
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
Everything looks great! No dangerous files found in this plugin8,995 lines of code in 94 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 84 | 1,513 | 3,883 | 8,473 |
Markdown | 7 | 143 | 0 | 320 |
JSON | 1 | 0 | 0 | 172 |
JavaScript | 2 | 8 | 2 | 30 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 16.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 3.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 67 | |
▷ Abstract classes | 5 | 7.46% |
▷ Concrete classes | 62 | 92.54% |
▷ Final classes | 1 | 1.61% |
Methods | 469 | |
▷ Static methods | 89 | 18.98% |
▷ Public methods | 336 | 71.64% |
▷ Protected methods | 118 | 25.16% |
▷ Private methods | 15 | 3.20% |
Functions | 47 | |
▷ Named functions | 11 | 23.40% |
▷ Anonymous functions | 36 | 76.60% |
Constants | 81 | |
▷ Global constants | 8 | 9.88% |
▷ Class constants | 73 | 90.12% |
▷ Public constants | 72 | 98.63% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin