Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼2.26ms] Passed 4 tests
This is a short check of server-side resources used by Enqueue Me
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 49.98 ▲6.54 |
Dashboard /wp-admin | 3.42 ▲0.12 | 52.22 ▼0.34 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 46.68 ▼2.80 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 87.68 ▼6.11 |
Media Library /wp-admin/upload.php | 3.35 ▲0.11 | 36.96 ▲0.20 |
Enqueue Me /wp-admin/options-general.php?page=enq_me_settings | 3.34 | 34.31 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Enqueue Me: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.38 ▲0.10 | 2.14 ▲0.24 | 46.31 ▲1.97 |
Dashboard /wp-admin | 2,204 ▲24 | 5.63 ▼0.01 | 87.52 ▼3.95 | 42.81 ▲0.89 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.00 ▲0.03 | 35.09 ▲0.22 | 34.45 ▲0.13 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.91 ▼0.17 | 702.13 ▼0.59 | 57.92 ▲8.26 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.22 ▲0.03 | 106.21 ▲0.92 | 44.95 ▼0.76 |
Enqueue Me /wp-admin/options-general.php?page=enq_me_settings | 1,116 | 2.52 | 50.46 | 34.19 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/enqueue-me/inc/admin.php:54
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/enqueue-me/inc/core.php:58
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/enqueue-me/inc/fav-lists.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/enqueue-me/inc/admin.php:54
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/enqueue-me/inc/load-scripts.php:86
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/enqueue-me/inc/import-export.php:27
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=enq_me_settings
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=enq_me_settings - Access to XMLHttpRequest at 'https://wpmaz.uk/enqueue-me/em-requests.php' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=enq_me_settings
- > Network (severe)
https://wpmaz.uk/enqueue-me/em-requests.php - Failed to load resource: net::ERR_FAILED
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
10 plugin tags: package, gui, javascript, library, manage...
enqueue-me/enqueue-me.php Passed 13 tests
The entry point to "Enqueue Me" version 0.5 is a PHP file that has certain tags in its header comment area
73 characters long description:
Easily enqueue your favourite CSS and Javascipt libraries into your theme
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected1,339 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 348 | 15 | 587 |
PHP | 6 | 290 | 183 | 523 |
CSS | 4 | 0 | 0 | 187 |
Markdown | 1 | 18 | 0 | 42 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 30 | |
▷ Named functions | 30 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
7 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/code.png | 0.28KB | 0.32KB | 0.00% |
img/tick.png | 1.56KB | 0.67KB | ▼ 56.95% |
img/remove.png | 0.40KB | 0.42KB | 0.00% |
img/link.png | 0.52KB | 0.60KB | 0.00% |
img/cross.png | 0.85KB | 0.90KB | 0.00% |