Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.26ms] Passed 4 tests
Server-side resources used by WordPress Block Analytics Spam
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.00 ▲0.20 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.26 ▼4.49 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 45.98 ▲2.25 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 81.80 ▼7.55 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 35.81 ▼1.18 |
Block analytics Spam /wp-admin/tools.php?page=page-wp-block-analytics-spam | 3.25 | 30.24 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 8 new options
New WordPress options |
---|
wp_block_analytics_spam_settings |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
wp_block_analytics_spam_remote_domains |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WordPress Block Analytics Spam: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.39 ▼1.36 | 1.72 ▲0.04 | 38.26 ▼8.31 |
Dashboard /wp-admin | 2,210 ▲22 | 5.88 ▲1.02 | 103.00 ▼12.26 | 39.17 ▼4.62 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.01 | 35.69 ▼1.12 | 32.35 ▼4.70 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.44 ▲0.43 | 678.80 ▲3.35 | 61.03 ▲8.43 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.21 ▼0.01 | 110.06 ▲5.46 | 45.96 ▼1.40 |
Block analytics Spam /wp-admin/tools.php?page=page-wp-block-analytics-spam | 806 | 2.03 | 26.62 | 31.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: There are too many tags (16 tag instead of maximum 10)
wp-block-analytics-spam/wp-block-analytics-spam.php Passed 13 tests
Analyzing the main PHP file in "WordPress Block Analytics Spam" version 1.5
114 characters long description:
Stop the Spam bot as semalt.com and buttons-for-website.com that appear on Google Analytics and have real reports.
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
There were no executable files found in this plugin366 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 84 | 135 | 300 |
PO File | 1 | 20 | 25 | 66 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 6.80 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 3 | 12.00% |
▷ Public methods | 22 | 88.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 12.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin