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.20MB] [CPU: ▼4.71ms] Passed 4 tests
Server-side resources used by Js Css Include Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 38.89 ▼5.16 |
Dashboard /wp-admin | 3.53 ▲0.22 | 48.05 ▼11.24 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 51.50 ▲3.11 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 92.88 ▼5.53 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 38.90 ▲3.42 |
Js Css Include Manager /wp-admin/options-general.php?page=js_css_include_manager | 3.49 | 36.06 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Js Css Include Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.65 ▼0.74 | 1.60 ▼0.22 | 40.32 ▼3.25 |
Dashboard /wp-admin | 2,210 ▲25 | 5.88 ▲0.98 | 106.59 ▼4.41 | 41.44 ▼0.61 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 1.99 ▼0.02 | 39.65 ▲4.51 | 36.18 ▲1.51 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 18.51 ▼4.46 | 603.19 ▼24.32 | 55.28 ▼6.70 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.16 ▼0.06 | 99.74 ▲0.37 | 43.53 ▼1.32 |
Js Css Include Manager /wp-admin/options-general.php?page=js_css_include_manager | 1,226 | 2.03 | 42.14 | 33.22 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=js_css_include_manager
- > Notice in wp-content/plugins/js-css-include-manager/js-css-include-manager.php+186
Trying to access array offset on value of type bool
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
Please fix the following items
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Trying to get property 'ClassData' of non-object in wp-content/plugins/js-css-include-manager/inc/other.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/js-css-include-manager/js-css-include-manager.php:49
- > PHP Notice
Trying to get property 'ClassData' of non-object in wp-content/plugins/js-css-include-manager/inc/setting.php on line 5
- > PHP Notice
Trying to get property 'ClassInfo' of non-object in wp-content/plugins/js-css-include-manager/inc/information.php on line 1
- > PHP Fatal error
Uncaught Error: Call to a member function is_donated() on null in wp-content/plugins/js-css-include-manager/inc/information.php:1
- > PHP Notice
Undefined variable: Jcim in wp-content/plugins/js-css-include-manager/inc/information.php on line 1
- > PHP Fatal error
Uncaught Error: Call to a member function get_data_others() on null in wp-content/plugins/js-css-include-manager/inc/other.php:5
- > PHP Fatal error
Uncaught Error: Call to a member function get_data_include_manage() on null in wp-content/plugins/js-css-include-manager/inc/setting.php:5
- > PHP Notice
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Settings Interface), #2 (Configuration Example), #3 (Conditions after added of settins interface)
js-css-include-manager/js-css-include-manager.php 92% from 13 tests
The main file in "Js Css Include Manager" v. 1.4.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
No dangerous file extensions were detected1,723 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 888 | 33 | 1,440 |
CSS | 1 | 11 | 0 | 152 |
PO File | 1 | 47 | 56 | 111 |
JavaScript | 1 | 6 | 0 | 20 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 44.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 3.99 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 61 | 84.72% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 15.28% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 18.86KB | 7.90KB | ▼ 58.10% |
screenshot-1.png | 48.43KB | 20.64KB | ▼ 57.38% |
screenshot-3.png | 16.65KB | 5.79KB | ▼ 65.23% |