Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼11.54ms] Passed 4 tests
Server-side resources used by World Domination
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 41.54 ▼1.35 |
Dashboard /wp-admin | 3.26 ▼0.09 | 36.54 ▼27.17 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.01 ▼6.98 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 86.90 ▼10.67 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 39.85 ▲3.93 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 8 new options
New WordPress options |
---|
world_domination |
recovery_mode_email_last_sent |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for World Domination
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,805 ▼966 | 12.41 ▼1.94 | 2.11 ▲0.14 | 39.99 ▼7.99 |
Dashboard /wp-admin | 1,216 ▼972 | 1.38 ▼4.48 | 13.56 ▼104.44 | 32.50 ▼12.71 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.00 | 37.27 ▲0.63 | 41.57 ▲6.94 |
Add New Post /wp-admin/post-new.php | 1,667 ▲139 | 21.59 ▲3.09 | 673.35 ▲40.48 | 28.88 ▼19.23 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.18 ▲0.01 | 106.84 ▲8.55 | 44.62 ▲0.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- recovery_mode_email_last_sent
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/world-domination/wp-somethingty-percent/wpbokeh-somethingty.php
- > /wp-content/plugins/world-domination/wp-somethingty-percent/wp-somethingty.php
- 39× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
imagecolordeallocate() expects exactly 2 parameters, 1 given in wp-content/plugins/world-domination/wp-somethingty-percent/wpbokeh-somethingty.php on line 180
- > PHP Warning
imagettftext(): Could not find/open font in wp-content/plugins/world-domination/wp-somethingty-percent/wp-somethingty.php on line 56
- > PHP Warning
imagettftext(): Could not find/open font in wp-content/plugins/world-domination/wp-somethingty-percent/wp-somethingty.php on line 31
- > PHP Warning
imagettftext(): Could not find/open font in wp-content/plugins/world-domination/wp-somethingty-percent/wp-somethingty.php on line 56
- > PHP Warning
imagettftext(): Could not find/open font in wp-content/plugins/world-domination/wp-somethingty-percent/wp-somethingty.php on line 31
- > PHP Warning
imagettftext(): Could not find/open font in wp-content/plugins/world-domination/wp-somethingty-percent/wp-somethingty.php on line 31
- > PHP Warning
imagettftext(): Could not find/open font in wp-content/plugins/world-domination/wp-somethingty-percent/wp-somethingty.php on line 31
- > PHP Warning
imagettftext(): Could not find/open font in wp-content/plugins/world-domination/wp-somethingty-percent/wp-somethingty.php on line 31
- > PHP Warning
imagettftext(): Could not find/open font in wp-content/plugins/world-domination/wp-somethingty-percent/wp-somethingty.php on line 56
- > PHP Warning
Division by zero in wp-content/plugins/world-domination/wp-somethingty-percent/wpbokeh-somethingty.php on line 136
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: coverage, share, w3tech, cms, market
world-domination/world-domination.php Passed 13 tests
The main PHP script in "World Domination" version 2.1.2 is automatically included on every request by WordPress
61 characters long description:
🌎 Add WordPress market coverage summary to your dashboard.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin293 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 142 | 169 | 293 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 11 | |
▷ Named functions | 11 | 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
No PNG files were detected