Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.03MB] [CPU: ▼10.36ms] Passed 4 tests
Analyzing server-side resources used by Income Activator Referral Revenue
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▼0.01 | 38.65 ▼1.26 |
Dashboard /wp-admin | 3.31 ▼0.03 | 42.15 ▼15.44 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 41.12 ▼6.81 |
Add New Post /wp-admin/post-new.php | 5.79 ▼0.10 | 79.13 ▼17.92 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 37.88 ▲2.82 |
Server storage [IO: ▲1.52MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Income Activator Referral Revenue
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲63 | 14.25 ▼0.10 | 1.96 ▼0.24 | 36.86 ▼7.68 |
Dashboard /wp-admin | 2,215 ▲41 | 5.52 ▼0.15 | 84.97 ▼12.14 | 86.18 ▲35.57 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.03 ▲0.05 | 37.19 ▲1.13 | 34.44 ▲1.22 |
Add New Post /wp-admin/post-new.php | 1,697 ▲171 | 20.01 ▼3.06 | 637.42 ▲9.31 | 71.68 ▲4.32 |
Media Library /wp-admin/upload.php | 1,420 ▲23 | 4.23 ▼0.01 | 101.03 ▼1.55 | 106.02 ▲62.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/income-activator-referral-revenue/IncomeActivator.php:34
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: referral form, income, referrals, shortcode, leads...
income-activator-referral-revenue/IncomeActivator.php 92% from 13 tests
The primary PHP file in "Income Activator Referral Revenue" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("income-activator-referral-revenue.php" instead of "IncomeActivator.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin78 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 44 | 27 | 78 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 1.51MB with 0.98MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 500.38KB | 159.76KB | ▼ 68.07% |
assets/screenshot-1.png | 90.79KB | 31.49KB | ▼ 65.32% |
Images/icon.png | 1.34KB | 0.48KB | ▼ 64.50% |
assets/screenshot-4.png | 839.02KB | 317.43KB | ▼ 62.17% |
assets/screenshot-2.png | 118.06KB | 43.61KB | ▼ 63.07% |