Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼1.84MB] [CPU: ▼188.96ms] Passed 4 tests
Server-side resources used by Loop11 for Wordpress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.79 ▼0.93 | 9.12 ▼25.50 |
Dashboard /wp-admin | 1.80 ▼1.25 | 9.56 ▼53.18 |
Posts /wp-admin/edit.php | 1.81 ▼1.30 | 8.18 ▼29.60 |
Add New Post /wp-admin/post-new.php | 1.80 ▼3.63 | 5.96 ▼644.50 |
Media Library /wp-admin/upload.php | 1.81 ▼1.20 | 6.55 ▼28.57 |
Loop11 /wp-admin/options-general.php?page=loop11 | 1.81 | 5.88 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 1 new option
New WordPress options |
---|
loop11_script |
Browser metrics Passed 4 tests
Loop11 for Wordpress: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,727 ▲132 | 15.80 ▲0.29 | 9.36 ▼0.63 | 52.34 ▼3.35 |
Dashboard /wp-admin | 2,984 ▲50 | 5.91 ▼0.01 | 137.28 ▼33.10 | 130.92 ▲19.78 |
Posts /wp-admin/edit.php | 2,764 ▲25 | 2.57 ▼0.12 | 61.79 ▼5.40 | 86.27 ▼9.11 |
Add New Post /wp-admin/post-new.php | 1,620 ▲122 | 18.57 ▼0.29 | 389.63 ▲9.57 | 104.13 ▼4.74 |
Media Library /wp-admin/upload.php | 1,775 ▼32 | 5.01 ▲0.00 | 128.84 ▼27.33 | 135.37 ▲3.12 |
Loop11 /wp-admin/options-general.php?page=loop11 | 1,074 | 2.09 | 58.56 | 108.28 |
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
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5663
wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the loop11_wp.css handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie WordPress options detected upon uninstall: 1 option
- loop11_script
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=loop11
- > User notice in wp-includes/functions.php+5663
wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the loop11_wp.css handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=loop11
- > Notice in wp-content/plugins/loop11/loop11.php+145
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_register_style() in wp-content/plugins/loop11/loop11.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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
1 plugin tags: loop11
loop11/loop11.php Passed 13 tests
The primary PHP file in "Loop11 for Wordpress" version 1.0 is used by WordPress to initiate all plugin functionality
122 characters long description:
This plugin allows simple insertion of the Loop11 JavaScript code, no programming required, start your user testing today!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected201 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 47 | 12 | 135 |
CSS | 1 | 0 | 0 | 66 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 10 | |
▷ Named functions | 10 | 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
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
gear_bad.png | 5.83KB | 2.74KB | ▼ 52.90% |
uservoice.png | 8.00KB | 2.70KB | ▼ 66.27% |
gear_good.png | 6.22KB | 2.82KB | ▼ 54.73% |
loop11_logo.png | 3.59KB | 2.33KB | ▼ 35.22% |
loop11_logo_black_wp.png | 1.49KB | 0.82KB | ▼ 45.14% |