Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Error in wp-content/plugins/api-info-themes-plugins-wp-org/library_wp.php+2677
Uncaught Error: Class 'WP_Plugins_List_Table' not found in wp-content/plugins/api-info-themes-plugins-wp-org/library_wp.php:2677
Stack trace:
#0 wp-content/plugins/api-info-themes-plugins-wp-org/library_wp.php(2611): Puvox\wp_plugin->is_not_bulk_activation()
#1 wp-includes/class-wp-hook.php(312): Puvox\wp_plugin->Puvox\{closure}()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/includes/plugin.php(720): do_action()
Server metrics [RAM: ▲2.23MB] [CPU: ▲10.28ms] Passed 4 tests
A check of server-side resources used by API info for Plugins & Themes from WP.ORG
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.74 ▲2.27 | 54.85 ▲5.54 |
Dashboard /wp-admin | 5.57 ▲2.26 | 64.16 ▲15.86 |
Posts /wp-admin/edit.php | 5.62 ▲2.26 | 69.32 ▲16.82 |
Add New Post /wp-admin/post-new.php | 8.09 ▲2.20 | 103.21 ▲2.88 |
Media Library /wp-admin/upload.php | 5.43 ▲2.20 | 56.75 ▲21.44 |
API info WP.ORG items /wp-admin/options-general.php?page=api-info-themes-plugins-wp-org | 5.41 | 55.08 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 6 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_api_info_themes_plugins_wp_org__errors_log |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
api-info-themes-plugins-wp-org |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
API info for Plugins & Themes from WP.ORG: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.35 ▼0.18 | 1.53 ▼0.15 | 41.14 ▼4.55 |
Dashboard /wp-admin | 2,202 ▲28 | 5.59 ▲0.00 | 90.26 ▼4.18 | 40.08 ▼4.30 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.99 ▼0.03 | 39.92 ▼0.47 | 36.48 ▼1.78 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 22.93 ▼0.06 | 668.02 ▲50.39 | 61.10 ▲15.16 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.19 ▼0.08 | 98.28 ▼2.90 | 43.25 ▼4.26 |
API info WP.ORG items /wp-admin/options-general.php?page=api-info-themes-plugins-wp-org | 979 | 2.12 | 30.90 | 56.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_api_info_themes_plugins_wp_org__errors_log
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- api-info-themes-plugins-wp-org
- widget_recent-posts
- db_upgraded
- can_compress_scripts
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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Puvox\\library' not found in wp-content/plugins/api-info-themes-plugins-wp-org/library_wp.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Contributors: Plugin contributors not specified
api-info-themes-plugins-wp-org/index.php 92% from 13 tests
The main PHP file in "API info for Plugins & Themes from WP.ORG" ver. 1.05 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("api-info-themes-plugins-wp-org.php" instead of "index.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin3,773 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 1,293 | 5,108 | 3,773 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
Please fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 1,076)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 349.80 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 1,076.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 853 | |
▷ Static methods | 102 | 11.96% |
▷ Public methods | 846 | 99.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 0.82% |
Functions | 90 | |
▷ Named functions | 1 | 1.11% |
▷ Anonymous functions | 89 | 98.89% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin