Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.28ms] Passed 4 tests
Server-side resources used by FraudSentinel Bots & Fraud Detection
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 45.29 ▲2.25 |
Dashboard /wp-admin | 3.33 ▲0.02 | 52.00 ▼2.01 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.55 ▼7.83 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.86 ▼15.83 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.58 ▲0.54 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for FraudSentinel Bots & Fraud Detection
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲91 | 14.74 ▲0.32 | 2.18 ▲0.10 | 49.85 ▲3.21 |
Dashboard /wp-admin | 2,233 ▲30 | 4.84 ▼0.98 | 103.79 ▼11.25 | 36.95 ▼6.84 |
Posts /wp-admin/edit.php | 2,109 ▲6 | 1.99 ▲0.01 | 39.24 ▼4.90 | 34.34 ▲0.61 |
Add New Post /wp-admin/post-new.php | 1,555 ▲29 | 23.10 ▲5.62 | 611.67 ▼76.18 | 47.58 ▼20.46 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.23 ▲0.02 | 100.95 ▼19.68 | 41.30 ▼6.05 |
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 detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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 php: The plugin version is formatted incorrectly
fraudsentinel-bot-fraud-detection/fraudsentinel.php 92% from 13 tests
Analyzing the main PHP file in "FraudSentinel Bots & Fraud Detection" version 1.0
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("fraudsentinel-bot-fraud-detection.php" instead of "fraudsentinel.php")
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
Good job! No executable or dangerous file extensions detected406 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 85 | 35 | 406 |
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.46 |
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 | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 14.58KB | 6.22KB | ▼ 57.34% |
trunk/assets/screenshot-2.png | 14.58KB | 6.22KB | ▼ 57.34% |
assets/screenshot-1.png | 24.04KB | 9.79KB | ▼ 59.29% |
trunk/assets/screenshot-1.png | 24.04KB | 9.79KB | ▼ 59.29% |