Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.56ms] Passed 4 tests
This is a short check of server-side resources used by informvisitors
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.20 ▼7.26 |
Dashboard /wp-admin | 3.35 ▲0.04 | 53.95 ▲6.03 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.90 ▼1.47 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 89.65 ▼9.45 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.11 ▼0.07 |
Informvisitors /wp-admin/options-general.php?page=informvisitors | 3.24 | 36.72 |
Server storage [IO: ▲3.54MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for informvisitors
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲40 | 14.35 ▼0.01 | 2.43 ▲0.56 | 42.74 ▲0.02 |
Dashboard /wp-admin | 2,196 ▲19 | 5.56 ▲0.05 | 92.76 ▲1.85 | 39.16 ▲1.19 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.04 | 35.88 ▼0.82 | 31.80 ▼7.81 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.13 ▲0.08 | 674.90 ▲13.29 | 53.02 ▼0.12 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.19 ▼0.18 | 96.42 ▼6.75 | 40.95 ▼2.13 |
Informvisitors /wp-admin/options-general.php?page=informvisitors | 869 | 1.99 | 22.23 | 29.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Requires at least: Version not formatted correctly
informvisitors/informvisitors.php 85% from 13 tests
Analyzing the main PHP file in "informvisitors" version 2.7
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 270 characters long)
- Requires at least: Periods and digits should be used for the required version number (ex. "7.0" instead of "4.5 or Higher")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected336 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 134 | 75 | 336 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 11 | |
▷ Named functions | 11 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
12 PNG files occupy 1.15MB with 0.79MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-6.png | 154.77KB | 44.88KB | ▼ 71.00% |
assets/screenshot-3.png | 132.53KB | 35.99KB | ▼ 72.85% |
assets/icon-128x128.png | 5.03KB | 1.93KB | ▼ 61.54% |
assets/screenshot-1.png | 75.21KB | 28.15KB | ▼ 62.57% |
assets/screenshot-2.png | 54.07KB | 13.50KB | ▼ 75.02% |