Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼1.70MB] [CPU: ▼54.48ms] Passed 4 tests
This is a short check of server-side resources used by W3Counter Free Real-Time Web Stats
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.31 ▼1.16 | 9.51 ▼30.89 |
Dashboard /wp-admin | 2.32 ▼1.02 | 12.93 ▼49.93 |
Posts /wp-admin/edit.php | 2.32 ▼1.03 | 11.42 ▼38.81 |
Add New Post /wp-admin/post-new.php | 2.32 ▼3.57 | 10.38 ▼98.29 |
Media Library /wp-admin/upload.php | 2.32 ▼0.91 | 9.20 ▼24.81 |
W3Counter Stats /wp-admin/index.php?page=w3counter-stats-display | 2.32 | 12.27 |
W3Counter /wp-admin/options-general.php?page=w3counter-config | 2.32 | 12.15 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_w3counter |
Browser metrics Passed 4 tests
Checking browser requirements for W3Counter Free Real-Time Web Stats
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲98 | 14.45 ▼0.22 | 2.20 ▲0.47 | 37.38 ▼6.61 |
Dashboard /wp-admin | 2,223 ▲32 | 4.90 ▼0.03 | 105.76 ▲2.05 | 39.59 ▼4.19 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.03 ▼0.00 | 38.99 ▲2.95 | 34.06 ▲0.82 |
Add New Post /wp-admin/post-new.php | 1,548 ▲6 | 23.16 ▲4.84 | 636.99 ▲0.81 | 49.38 ▼5.69 |
Media Library /wp-admin/upload.php | 1,402 ▲11 | 4.28 ▲0.10 | 98.96 ▲0.96 | 45.06 ▲3.17 |
W3Counter Stats /wp-admin/index.php?page=w3counter-stats-display | 761 | 2.04 | 25.93 | 21.47 |
W3Counter /wp-admin/options-general.php?page=w3counter-config | 810 | 2.05 | 26.95 | 27.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in WP_Widget_W3Counter is deprecated since version 4.3.0! Use __construct() instead.
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_w3counter
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=w3counter-config
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in WP_Widget_W3Counter is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=w3counter-config
- > Notice in wp-content/plugins/blog-stats-by-w3counter/w3counter.php+162
Undefined variable: w3counter_user
- > GET request to /wp-admin/options-general.php?page=w3counter-config
- > Notice in wp-content/plugins/blog-stats-by-w3counter/w3counter.php+183
Undefined variable: manual
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blog-stats-by-w3counter/w3counter.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/index.php?page=w3counter-stats-display
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot set properties of null (setting 'onload')" "TypeError: Cannot set properties of null (setting 'onload')\n at resizew3IframeInit (/wp-admin/index.php?page=w3counter-stats-display:51:69)\n at HTMLDocument.\u003Canonymous> (/wp-admin/index.php?page=w3counter-stats-display:8:80)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/index.php?page=w3counter-stats-display
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot set properties of null (setting 'onload')
Optimizations
Plugin configuration 90% 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
Please fix the following attributes:
- Screenshots: Screenshot #1 (Web Stats by W3Counter) image missing
blog-stats-by-w3counter/w3counter.php 85% from 13 tests
The entry point to "W3Counter Free Real-Time Web Stats" version 4.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("blog-stats-by-w3counter.php" instead of "w3counter.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 347 characters long)
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
Good job! No executable or dangerous file extensions detected193 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 44 | 10 | 193 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.02MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 16.34KB | 15.21KB | ▼ 6.95% |