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.31MB] [CPU: ▼0.99ms] Passed 4 tests
An overview of server-side resources used by Page Visits Counter - Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 37.19 ▼5.03 |
Dashboard /wp-admin | 3.66 ▲0.35 | 47.61 ▼3.96 |
Posts /wp-admin/edit.php | 3.70 ▲0.35 | 49.14 ▲4.95 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.31 | 98.20 ▲3.83 |
Media Library /wp-admin/upload.php | 3.51 ▲0.29 | 36.13 ▲1.21 |
Page Visits Counter Lite /wp-admin/options-general.php?page=strongetic-page-visits-counter-lite | 3.54 | 35.89 |
Server storage [IO: ▲0.85MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 60 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
strcpv_delete_plugin_data |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Page Visits Counter - Lite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,446 ▲711 | 13.86 ▼0.76 | 9.68 ▲7.90 | 33.38 ▼10.96 |
Dashboard /wp-admin | 2,736 ▲548 | 5.98 ▲0.07 | 105.59 ▼9.07 | 53.71 ▲8.39 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▲0.03 | 39.49 ▲6.54 | 37.55 ▲4.25 |
Add New Post /wp-admin/post-new.php | 1,517 ▼11 | 17.72 ▼5.54 | 625.80 ▼48.59 | 51.07 ▼1.92 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▲0.01 | 96.95 ▼10.87 | 42.60 ▼2.97 |
Page Visits Counter Lite /wp-admin/options-general.php?page=strongetic-page-visits-counter-lite | 2,264 | 2.12 | 27.71 | 27.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'StrCPVisits_Inc\\Base\\BaseController' not found in wp-content/plugins/page-visits-counter-lite/Inc/Counter/frontend/CounterBase.php:13
- > PHP Fatal error
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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
- Screenshots: A description for screenshot #0 is required in page-visits-counter-lite/assets to your readme.txt
page-visits-counter-lite/strongetic-page-visits-counter-lite.php 85% from 13 tests
This is the main PHP file of "Page Visits Counter - Lite" version 1.1.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("page-visits-counter-lite.php" instead of "strongetic-page-visits-counter-lite.php")
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.0" instead of "4.9.2")
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
Everything looks great! No dangerous files found in this plugin5,232 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 40 | 1,076 | 929 | 2,096 |
JavaScript | 3 | 550 | 1,003 | 1,997 |
CSS | 1 | 184 | 85 | 1,139 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 7.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 1 | 5.00% |
Methods | 65 | |
▷ Static methods | 8 | 12.31% |
▷ Public methods | 64 | 98.46% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.54% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin