Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.89MB] [CPU: ▼33.02ms] Passed 4 tests
This is a short check of server-side resources used by Popularity Stats for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 37.87 ▼4.68 |
Dashboard /wp-admin | 3.05 ▼0.25 | 25.82 ▼20.28 |
Posts /wp-admin/edit.php | 3.05 ▼0.31 | 24.99 ▼22.17 |
Add New Post /wp-admin/post-new.php | 3.05 ▼2.84 | 22.38 ▼76.14 |
Media Library /wp-admin/upload.php | 3.05 ▼0.18 | 22.09 ▼13.49 |
Server storage [IO: ▲0.78MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 53 new files
Database: no new tables, 14 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
horshipsrectors_popularity_track_alexa |
horshipsrectors_popularity_track_pagerank |
horshipsrectors_popularity_track_links |
horshipsrectors_popularity_checker_google_check |
horshipsrectors_popularity_checker_alexa_check |
horshipsrectors_popularity_daystodisplay |
widget_theysaidso_widget |
horshipsrectors_popularity_checker_google_value_1696372163 |
... |
Browser metrics Passed 4 tests
Popularity Stats for WordPress: 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,798 ▲63 | 13.33 ▼1.42 | 1.72 ▼0.32 | 37.15 ▼11.41 |
Dashboard /wp-admin | 2,214 ▲23 | 5.86 ▲0.95 | 107.68 ▼1.80 | 42.81 ▲1.76 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 1.96 ▼0.00 | 36.43 ▼4.51 | 32.12 ▼4.74 |
Add New Post /wp-admin/post-new.php | 1,541 ▲21 | 23.46 ▲0.34 | 656.84 ▲31.10 | 50.58 ▼4.56 |
Media Library /wp-admin/upload.php | 1,399 ▲8 | 4.21 ▲0.00 | 99.38 ▲3.71 | 44.56 ▲0.66 |
Popularity Stats /wp-admin/popularity-stats.php | 26 | 0.44 | 0.11 | 13.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin cannot be uninstalled
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- This plugin does not fully uninstall, leaving 14 options in the database
- horshipsrectors_popularity_checker_alexa_check
- horshipsrectors_popularity_track_pagerank
- widget_theysaidso_widget
- horshipsrectors_popularity_checker_google_value_1696372163
- horshipsrectors_popularity_daystocheck
- horshipsrectors_popularity_daystodisplay
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- ...
Smoke tests 50% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/popularity-stats/popularity-stats.php:24
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/popularity-stats.php
- > Network (severe)
wp-admin/popularity-stats.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Donate link: Please fix this invalid URI: ""
- Screenshots: Please add images for these screenshots: #1 (screenshot-1.jpg), #2 (screenshot-2.jpg), #3 (screenshot-3.jpg), #4 (screenshot-4.jpg)
popularity-stats/popularity-stats.php 92% from 13 tests
This is the main PHP file of "Popularity Stats for WordPress" version 2017.08.13, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 146 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin8,883 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 37 | 873 | 2,890 | 8,284 |
PHP | 3 | 168 | 49 | 474 |
CSS | 2 | 27 | 16 | 125 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 18 | |
▷ Named functions | 18 | 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
There were not PNG files found in your plugin