Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▲2.24ms] Passed 4 tests
Server-side resources used by Any Ipsum
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.92 ▼3.11 |
Dashboard /wp-admin | 3.36 ▲0.06 | 53.08 ▼0.47 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 55.03 ▲3.30 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 117.07 ▲15.93 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 41.13 ▲9.23 |
Any Ipsum /wp-admin/options-general.php?page=anyipsum-settings | 3.25 | 33.61 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Any Ipsum
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.78 ▼0.60 | 1.82 ▲0.02 | 42.72 ▼1.50 |
Dashboard /wp-admin | 2,210 ▲22 | 4.87 ▼0.03 | 114.02 ▲6.27 | 41.26 ▲0.19 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 1.99 ▲0.00 | 33.04 ▼6.04 | 34.67 ▲3.64 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.01 ▼0.11 | 686.99 ▲21.15 | 58.61 ▼2.14 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.19 ▼0.02 | 96.29 ▼12.34 | 42.94 ▼6.03 |
Any Ipsum /wp-admin/options-general.php?page=anyipsum-settings | 860 | 2.18 | 24.81 | 25.77 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
- 9× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/any-ipsum/uninstall.php
- > /wp-content/plugins/any-ipsum/lib/class-WPAnyIpsumCore.php
- > /wp-content/plugins/any-ipsum/lib/admin-help.php
- > /wp-content/plugins/any-ipsum/wp-anyipsum.php
- > /wp-content/plugins/any-ipsum/lib/class-WPAnyIpsumSettings.php
- > /wp-content/plugins/any-ipsum/lib/class-WPAnyIpsumAPI.php
- > /wp-content/plugins/any-ipsum/lib/class-WPAnyIpsumWPCLI.php
- > /wp-content/plugins/any-ipsum/lib/class-WPAnyIpsumForm.php
- > /wp-content/plugins/any-ipsum/lib/class-WPAnyIpsumOembed.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
2 plugin tags: ipsum, content
any-ipsum/wp-anyipsum.php 92% from 13 tests
"Any Ipsum" version 1.9.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("any-ipsum.php" instead of "wp-anyipsum.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected945 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 375 | 141 | 945 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 18.86 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 1 | 1.89% |
▷ Public methods | 35 | 66.04% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 33.96% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin