Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.12ms] Passed 4 tests
This is a short check of server-side resources used by Add Css And Js Option Page Wise
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 49.43 ▲7.23 |
Dashboard /wp-admin | 3.32 ▲0.01 | 50.33 ▲1.56 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.78 ▲0.99 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.41 ▼12.84 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.47 ▲1.83 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Add Css And Js Option Page Wise
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲48 | 14.27 ▼0.25 | 1.88 ▼1.16 | 41.83 ▼0.10 |
Dashboard /wp-admin | 2,218 ▲51 | 5.54 ▼0.12 | 98.00 ▼5.05 | 44.54 ▲4.58 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 2.07 ▲0.12 | 43.98 ▲5.63 | 37.83 ▲2.82 |
Add New Post /wp-admin/post-new.php | 1,549 ▲21 | 18.61 ▼4.68 | 681.00 ▲8.45 | 70.60 ▲18.31 |
Media Library /wp-admin/upload.php | 1,414 ▲11 | 4.27 ▲0.06 | 99.44 ▼13.42 | 42.73 ▼4.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'OCSSJS' does not have a method 'deactivate'
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: Please describe screenshot #1 in add-css-and-js-option-page-wise/assets to your readme.txt
- Tags: There are too many tags (18 tag instead of maximum 10)
add-css-and-js-option-page-wise/css-js-ordeing-page-wise.php 92% from 13 tests
The main file in "Add Css And Js Option Page Wise" v. 1.0 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:
- Main file name: The principal plugin file should be the same as the plugin slug ("add-css-and-js-option-page-wise.php" instead of "css-js-ordeing-page-wise.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin634 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 255 |
PHP | 1 | 28 | 26 | 163 |
CSS | 1 | 19 | 0 | 145 |
JavaScript | 2 | 19 | 0 | 71 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin