Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.80ms] Passed 4 tests
This is a short check of server-side resources used by Fake Traffic Blaster
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 42.84 ▲1.77 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.87 ▼1.90 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.14 ▼4.90 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.03 | 96.98 ▼14.16 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 43.92 ▲6.38 |
Fake Traffic Blaster /wp-admin/options-general.php?page=fake-traffic-blaster/include/options.php | 3.21 | 33.27 |
Server storage [IO: ▲0.04MB] [DB: ▲0.43MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Fake Traffic Blaster
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲140 | 13.74 ▼0.53 | 8.04 ▲5.77 | 40.01 ▼9.82 |
Dashboard /wp-admin | 2,204 ▲27 | 5.64 ▼0.02 | 90.11 ▼7.34 | 39.79 ▼4.66 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.98 ▼0.06 | 40.19 ▲6.16 | 35.43 ▼0.92 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 18.35 ▼5.13 | 633.84 ▲1.34 | 66.06 ▲10.67 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.19 ▼0.02 | 97.54 ▼13.04 | 42.75 ▼5.97 |
Fake Traffic Blaster /wp-admin/options-general.php?page=fake-traffic-blaster/include/options.php | 1,122 | 3.30 | 72.49 | 44.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.43MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=fake-traffic-blaster/include/options.php
- > Notice in wp-content/plugins/fake-traffic-blaster/include/options.php+145
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=fake-traffic-blaster/include/options.php
- > User deprecated in wp-includes/functions.php+5643
File rss.php is deprecated since version 3.0.0! Use wp-includes/class-simplepie.php instead.
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
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/fake-traffic-blaster/fake-traffic-blaster.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fake-traffic-blaster/include/functions.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fake-traffic-blaster/include/options.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (Settings page) image not found
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
fake-traffic-blaster/fake-traffic-blaster.php Passed 13 tests
The main PHP script in "Fake Traffic Blaster" version 0.1 is automatically included on every request by WordPress
42 characters long description:
Protect WordPress blogs from fake traffic.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin289 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 81 | 113 | 238 |
CSS | 2 | 2 | 9 | 28 |
JavaScript | 1 | 5 | 3 | 23 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 15 | |
▷ Named functions | 15 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/fb.png | 1.67KB | 1.03KB | ▼ 38.72% |
images/paypal.png | 3.33KB | 1.82KB | ▼ 45.37% |
images/stars.png | 1.22KB | 0.88KB | ▼ 28.22% |
screenshot-1.png | 11.77KB | 6.41KB | ▼ 45.54% |