Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲4.80MB] [CPU: ▼274.31ms] Passed 4 tests
A check of server-side resources used by Awesome SSL
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.65 ▲5.52 | 72.76 ▲46.37 |
Dashboard /wp-admin | 8.66 ▲5.26 | 57.03 ▲23.27 |
Posts /wp-admin/edit.php | 8.67 ▲5.03 | 60.45 ▲22.05 |
Add New Post /wp-admin/post-new.php | 10.52 ▲3.55 | 117.42 ▼1,160.51 |
Media Library /wp-admin/upload.php | 8.66 ▲5.37 | 44.17 ▲17.94 |
Freemius Debug [v.2.4.2] /wp-admin/admin.php?page=freemius | 8.67 | 44.08 |
Server storage [IO: ▲2.99MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 169 new files
Database: no new tables, 4 new options
New WordPress options |
---|
fs_active_plugins |
fs_accounts |
fs_debug_mode |
fs_gdpr |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Awesome SSL
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,809 ▲67 | 15.96 ▼0.14 | 6.41 ▲0.79 | 2.54 ▲0.08 |
Dashboard /wp-admin | 2,938 ▲80 | 6.06 ▼0.14 | 119.17 ▼16.90 | 173.00 ▲14.44 |
Posts /wp-admin/edit.php | 2,734 ▲40 | 3.24 ▲0.00 | 67.58 ▲5.86 | 164.36 ▲23.93 |
Add New Post /wp-admin/post-new.php | 1,678 ▼74 | 21.98 ▲1.04 | 428.81 ▼66.50 | 181.15 ▲27.85 |
Media Library /wp-admin/upload.php | 1,744 ▲46 | 5.53 ▲0.01 | 139.15 ▼3.05 | 200.35 ▲11.95 |
Freemius Debug [v.2.4.2] /wp-admin/admin.php?page=freemius | 1,447 | 2.53 | 55.02 | 112.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/awesome-ssl/freemius/includes/class-freemius.php+8552
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 4 options in the database
- fs_accounts
- fs_gdpr
- fs_debug_mode
- fs_active_plugins
Smoke tests 50% 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)
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/awesome-ssl/freemius/templates/ajax-loader.php
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function freemius() in wp-content/plugins/awesome-ssl/freemius/templates/partials/network-activation.php:6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/awesome-ssl/freemius/templates/account/partials/addon.php on line 7
- > PHP Fatal error
Uncaught Error: Call to a member function get_slug() on null in wp-content/plugins/awesome-ssl/freemius/templates/account/partials/addon.php:9
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/awesome-ssl/freemius/templates/account/partials/addon.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/awesome-ssl/freemius/templates/account/partials/addon.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/awesome-ssl/Index.php:18
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/awesome-ssl/freemius/templates/account/partials/addon.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/awesome-ssl/freemius/templates/account/partials/addon.php on line 6
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/awesome-ssl/freemius/templates/account/partials/addon.php on line 7
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (This is the Admin Area admin area.(png|jpg|jpeg|gif).) image not found
awesome-ssl/Index.php 92% from 13 tests
The primary PHP file in "Awesome SSL" version 1.7.8 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("awesome-ssl.php" instead of "Index.php")
Code Analysis 97% from 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 detected31,057 lines of code in 125 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 108 | 7,244 | 16,101 | 30,599 |
Markdown | 1 | 68 | 0 | 214 |
JavaScript | 4 | 34 | 59 | 203 |
JSON | 1 | 0 | 0 | 27 |
CSS | 11 | 0 | 0 | 14 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Please tend to the following items
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 2,907)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 88.65 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,907.00 |
Average method complexity | 4.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 46 | |
▷ Abstract classes | 2 | 4.35% |
▷ Concrete classes | 44 | 95.65% |
▷ Final classes | 0 | 0.00% |
Methods | 1,144 | |
▷ Static methods | 173 | 15.12% |
▷ Public methods | 804 | 70.28% |
▷ Protected methods | 15 | 1.31% |
▷ Private methods | 325 | 28.41% |
Functions | 98 | |
▷ Named functions | 98 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 123 | |
▷ Global constants | 98 | 79.67% |
▷ Class constants | 25 | 20.33% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |