Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.19ms] Passed 4 tests
A check of server-side resources used by Boost Traffic
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 34.02 ▼6.47 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.13 ▼0.79 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 49.04 ▲5.16 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 87.65 ▲0.56 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 36.71 ▲1.96 |
Boost Traffic /wp-admin/options-general.php?page=im-boost-traffic | 3.24 | 35.03 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Boost Traffic: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲118 | 13.55 ▼0.58 | 1.68 ▼0.02 | 29.71 ▼21.70 |
Dashboard /wp-admin | 2,244 ▲53 | 5.10 ▲0.22 | 112.60 ▲8.17 | 90.00 ▲47.71 |
Posts /wp-admin/edit.php | 2,146 ▲75 | 2.46 ▲0.46 | 42.63 ▲5.49 | 38.53 ▲2.21 |
Add New Post /wp-admin/post-new.php | 1,719 ▲177 | 22.51 ▲4.45 | 674.17 ▲56.10 | 30.69 ▼18.22 |
Media Library /wp-admin/upload.php | 1,445 ▲54 | 4.41 ▲0.18 | 90.25 ▼11.42 | 77.41 ▲30.21 |
Boost Traffic /wp-admin/options-general.php?page=im-boost-traffic | 907 | 2.31 | 31.48 | 38.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/boost-traffic/inc/im-boost-traffic-functions.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/boost-traffic/inc/admin/tabs/im-boost-traffic-general.php:2
- > 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 Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: traffic, marketing-tool, increase-traffic, website-boost, marketing...
boost-traffic/boost-traffic.php Passed 13 tests
The main file in "Boost Traffic" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
100 characters long description:
Boost is a new way to market new websites without being bogged down by expensive marketing campaigns
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin323 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 53 | 30 | 278 |
CSS | 1 | 0 | 3 | 30 |
JavaScript | 1 | 8 | 2 | 15 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.33MB with 0.19MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/imlogo.png | 15.78KB | 6.92KB | ▼ 56.13% |
assets/images/boost-logo.png | 11.38KB | 4.70KB | ▼ 58.67% |
assets/images/background-footer.png | 52.77KB | 12.75KB | ▼ 75.83% |
assets/images/pattern.png | 252.88KB | 147.09KB | ▼ 41.84% |