Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼9.36ms] Passed 4 tests
Server-side resources used by WP CountUP JS
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 42.92 ▼3.52 |
Dashboard /wp-admin | 3.39 ▲0.04 | 48.90 ▼20.20 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 49.83 ▼1.05 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 87.50 ▼12.68 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.16 ▲4.48 |
CountUP.js /wp-admin/options-general.php?page=countup-js | 3.28 | 35.45 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WP CountUP JS: 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,793 ▲32 | 14.65 ▲0.36 | 1.85 ▼0.12 | 43.96 ▼0.25 |
Dashboard /wp-admin | 2,199 ▲25 | 5.62 ▼0.00 | 89.91 ▼10.86 | 42.03 ▼0.17 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.06 ▲0.03 | 37.42 ▲1.30 | 32.73 ▼2.87 |
Add New Post /wp-admin/post-new.php | 6,199 ▲4,668 | 19.33 ▼4.07 | 916.92 ▲270.85 | 37.73 ▼2.35 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.20 ▼0.03 | 98.06 ▼0.92 | 39.55 ▼4.34 |
CountUP.js /wp-admin/options-general.php?page=countup-js | 883 | 2.05 | 21.67 | 27.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Please fix the following
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-countup-js/includes/required-classes.php
- > /wp-content/plugins/wp-countup-js/includes/class-wp-cujs.php
- > /wp-content/plugins/wp-countup-js/includes/class-wp-cujs-shortcode.php
- > /wp-content/plugins/wp-countup-js/includes/class-wp-cujs-options.php
- > /wp-content/plugins/wp-countup-js/wp-countup-js.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in wp-countup-js/assets to your readme.txt
wp-countup-js/wp-countup-js.php Passed 13 tests
This is the main PHP file of "WP CountUP JS" version 4.2.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
60 characters long description:
Display multiple animated counters into your WordPress site.
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
There were no executable files found in this plugin4,524 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 1,743 | 1,472 | 4,118 |
PHP | 11 | 93 | 283 | 393 |
CSS | 1 | 2 | 0 | 13 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 3.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 1 | 4.55% |
▷ Public methods | 19 | 86.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 13.64% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin