Benchmarks
Plugin footprint 83% 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.07MB] [CPU: ▼4.67ms] Passed 4 tests
Analyzing server-side resources used by Smart CSS Auto Loader
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 44.44 ▲4.09 |
Dashboard /wp-admin | 3.39 ▲0.09 | 49.86 ▼12.29 |
Posts /wp-admin/edit.php | 3.93 ▲0.58 | 53.58 ▲3.58 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 97.54 ▼10.26 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 36.65 ▲0.31 |
CSS AutoLoader /wp-admin/themes.php?page=cssautoloader | 3.22 | 29.53 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
css_autoloader_data |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Smart CSS Auto Loader
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 14.76 ▲0.41 | 1.66 ▼0.22 | 41.27 ▲0.90 |
Dashboard /wp-admin | 2,213 ▲31 | 4.84 ▼1.08 | 104.14 ▼14.48 | 41.49 ▼1.05 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.99 ▲0.01 | 37.36 ▼5.61 | 31.26 ▼6.70 |
Add New Post /wp-admin/post-new.php | 1,531 ▲12 | 23.16 ▼0.20 | 687.91 ▲0.05 | 55.35 ▼8.99 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.18 ▲0.03 | 97.52 ▼23.21 | 41.84 ▼6.01 |
CSS AutoLoader /wp-admin/themes.php?page=cssautoloader | 824 | 2.38 | 30.94 | 32.09 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- css_autoloader_data
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% 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 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
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'PPF08_Class' not found in wp-content/plugins/css-autoloader/inc/ppf/ppf-subclass.php:16
- > PHP Fatal error
Uncaught Error: Class 'PPF08_Plugin' not found in wp-content/plugins/css-autoloader/inc/ppf/ppf-plugin-addon.php:16
- > PHP Fatal error
Uncaught Error: Class 'PPF08_SubClass' not found in wp-content/plugins/css-autoloader/inc/ppf/ppf-settings.php:16
- > PHP Fatal error
Uncaught Error: Class 'PPF08_SubClass' not found in wp-content/plugins/css-autoloader/inc/ppf/ppf-admin.php:16
- > PHP Fatal error
Uncaught Error: Class 'PPF08_Class' not found in wp-content/plugins/css-autoloader/inc/ppf/ppf-plugin.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
css-autoloader/css-autoloader.php 92% from 13 tests
This is the main PHP file of "Smart CSS Auto Loader" version 5.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 187 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,078 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 686 | 1,010 | 752 |
CSS | 1 | 51 | 0 | 231 |
JavaScript | 2 | 35 | 22 | 90 |
SVG | 5 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 9.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 6 | 75.00% |
▷ Concrete classes | 2 | 25.00% |
▷ Final classes | 0 | 0.00% |
Methods | 87 | |
▷ Static methods | 1 | 1.15% |
▷ Public methods | 74 | 85.06% |
▷ Protected methods | 5 | 5.75% |
▷ Private methods | 8 | 9.20% |
Functions | 6 | |
▷ Named functions | 1 | 16.67% |
▷ Anonymous functions | 5 | 83.33% |
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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin