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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.17MB] [CPU: ▼3.04ms] Passed 4 tests
Server-side resources used by Mini Loops
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 37.26 ▼0.82 |
Dashboard /wp-admin | 3.48 ▲0.18 | 44.65 ▼8.57 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 47.42 ▼0.93 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 90.40 ▼1.82 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 33.16 ▲1.19 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_miniloops |
widget_miniminiloops |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Mini Loops
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.27 ▼0.45 | 1.58 ▲0.03 | 38.19 ▼2.65 |
Dashboard /wp-admin | 2,198 ▲27 | 5.62 ▲0.06 | 93.27 ▲2.85 | 41.66 ▲2.19 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.05 | 39.51 ▲4.41 | 35.48 ▼1.29 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 18.31 ▼4.62 | 622.89 ▼34.60 | 67.48 ▲13.95 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.18 ▲0.00 | 104.26 ▲5.45 | 44.15 ▲0.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_miniminiloops
- theysaidso_admin_options
- widget_miniloops
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please take a closer look at the following
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/mini-loops/helpers.php
- > /wp-content/plugins/mini-loops/widget.php
- > /wp-content/plugins/mini-loops/tests/bootstrap.php
- > /wp-content/plugins/mini-loops/mini-loops.php
- > /wp-content/plugins/mini-loops/form.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/mini-loops/tests/mini-loops-testcase.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Screenshot #5 (Widget Options (pre 1.1)) image required
mini-loops/mini-loops.php Passed 13 tests
The main file in "Mini Loops" v. 1.4.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
43 characters long description:
Query posts and display them where you want
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
Success! There were no dangerous files found in this plugin1,734 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 193 | 338 | 1,114 |
Markdown | 2 | 129 | 0 | 309 |
Bourne Shell | 1 | 24 | 11 | 147 |
PO File | 1 | 41 | 44 | 92 |
JSON | 1 | 0 | 0 | 55 |
XML | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 8.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 39 | |
▷ Named functions | 39 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin