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-download-counts/wp-download-counts.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; dowpdc_pluginCountWidget has a deprecated constructor
Server metrics [RAM: ▼1.92MB] [CPU: ▼55.72ms] Passed 4 tests
Server-side resources used by WP Download Counts
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.11 ▼1.39 | 7.06 ▼32.24 |
Dashboard /wp-admin | 2.13 ▼1.25 | 5.80 ▼54.76 |
Posts /wp-admin/edit.php | 2.13 ▼1.26 | 7.02 ▼41.10 |
Add New Post /wp-admin/post-new.php | 2.13 ▼3.79 | 6.45 ▼94.77 |
Media Library /wp-admin/upload.php | 2.13 ▼1.13 | 5.77 ▼31.94 |
Server storage [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: no files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_dowpdc_plugincountwidget |
can_compress_scripts |
Browser metrics Passed 4 tests
WP Download Counts: 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,803 ▲57 | 13.24 ▼1.49 | 1.63 ▼0.22 | 39.30 ▼2.68 |
Dashboard /wp-admin | 2,206 ▲18 | 4.87 ▼1.03 | 110.63 ▲2.07 | 40.65 ▲0.55 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.03 ▲0.03 | 40.16 ▲4.38 | 37.39 ▲3.13 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.12 ▲0.63 | 623.19 ▼79.34 | 55.09 ▲0.26 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.20 ▼0.04 | 95.94 ▼3.81 | 40.96 ▼2.74 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/wp-download-counts/wp-download-counts.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; dowpdc_pluginCountWidget has a deprecated constructor
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_dowpdc_plugincountwidget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% 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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-download-counts/wp-download-counts.php:13
- > PHP Fatal error
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 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: Screenshot #1 (WP Download Counts plugin) image missing
- Donate link: Please fix this invalid url: ""
wp-download-counts/wp-download-counts.php Passed 13 tests
"WP Download Counts" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
104 characters long description:
Adds a widget which displays a list of your published WordPress plugins, with links and download counts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected88 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 11 | 88 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
There are no PNG files in this plugin