Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/wp-loop/wp-loop.php+422
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼54.64ms] Passed 4 tests
An overview of server-side resources used by Wp Loop
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.40 ▼36.16 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.32 ▼42.01 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.18 ▼42.79 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.32 ▼97.58 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 4.65 ▼30.01 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_wploop |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Wp Loop: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.17 ▼1.21 | 4.48 ▲2.80 | 42.99 ▼1.36 |
Dashboard /wp-admin | 2,210 ▲22 | 5.88 ▼0.03 | 101.05 ▼0.82 | 39.39 ▼4.18 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▼0.02 | 38.13 ▼2.45 | 33.46 ▼1.26 |
Add New Post /wp-admin/post-new.php | 1,518 ▼1 | 23.38 ▲0.19 | 680.59 ▲62.33 | 57.77 ▲6.10 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.26 ▲0.03 | 94.87 ▼5.03 | 41.95 ▼0.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/wp-loop/wp-loop.php+422
Function create_function() is deprecated
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_wploop
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_parse_args() in wp-content/plugins/wp-loop/views/widget.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-loop/views/admin.php:2
- > PHP Fatal error
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 97% 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
Attributes that need to be fixed:
- Tags: Too many tags (29 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-loop/wp-loop.php Passed 13 tests
The main PHP script in "Wp Loop" version 1.2.2 is automatically included on every request by WordPress
67 characters long description:
Create a loop of posts, pages or whatever Custom Post Type you have
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
Good job! No executable or dangerous file extensions detected792 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 171 | 117 | 477 |
CSS | 3 | 38 | 10 | 142 |
JavaScript | 5 | 13 | 27 | 99 |
PO File | 1 | 28 | 28 | 74 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 37.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 18 | |
▷ Static methods | 2 | 11.11% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin