Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲4.66MB] [CPU: ▼112.57ms] Passed 4 tests
An overview of server-side resources used by Glorious Services & Support
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.25 ▲5.52 | 52.53 ▲29.52 |
Dashboard /wp-admin | 8.26 ▲5.21 | 66.18 ▲29.41 |
Posts /wp-admin/edit.php | 8.27 ▲5.15 | 68.85 ▲25.78 |
Add New Post /wp-admin/post-new.php | 8.48 ▲3.04 | 109.23 ▼534.57 |
Media Library /wp-admin/upload.php | 8.27 ▲5.26 | 57.89 ▲29.09 |
Freemius Debug [v.2.4.1] /wp-admin/admin.php?page=freemius | 8.27 | 53.52 |
Server storage [IO: ▲8.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 287 new files
Database: no new tables, 4 new options
New WordPress options |
---|
fs_accounts |
fs_debug_mode |
fs_active_plugins |
fs_gdpr |
Browser metrics Passed 4 tests
Checking browser requirements for Glorious Services & Support
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,750 ▲154 | 15.90 ▲0.29 | 11.02 ▼0.66 | 44.65 ▼2.25 |
Dashboard /wp-admin | 3,013 ▲82 | 5.93 ▼0.04 | 132.28 ▼14.07 | 148.61 ▲29.44 |
Posts /wp-admin/edit.php | 2,786 ▲50 | 2.59 ▼0.26 | 66.11 ▼1.49 | 100.09 ▼1.44 |
Add New Post /wp-admin/post-new.php | 1,694 ▲11 | 18.84 ▲0.05 | 388.51 ▲11.50 | 107.15 ▼5.31 |
Media Library /wp-admin/upload.php | 1,795 ▼15 | 5.02 ▼0.03 | 130.81 ▼17.35 | 153.69 ▲34.82 |
Freemius Debug [v.2.4.1] /wp-admin/admin.php?page=freemius | 1,486 | 2.11 | 53.33 | 72.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/glorious-services-support/freemius/includes/class-freemius.php+8540
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 4 options in the database
- fs_accounts
- fs_gdpr
- fs_active_plugins
- fs_debug_mode
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/glorious-services-support/freemius/templates/ajax-loader.php
- 8× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to a member function get_slug() on null in wp-content/plugins/glorious-services-support/freemius/templates/account/partials/addon.php:9
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/glorious-services-support/freemius/templates/account/partials/addon.php on line 7
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/glorious-services-support/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/glorious-services-support/freemius/templates/account/partials/addon.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function freemius() in wp-content/plugins/glorious-services-support/freemius/templates/partials/network-activation.php:6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/glorious-services-support/freemius/templates/account/partials/addon.php on line 7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/glorious-services-support/freemius/templates/account/partials/addon.php on line 6
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/glorious-services-support/freemius/templates/account/partials/addon.php on line 8
- > 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 issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: wordpress support, services, support, wordpress help, gloriousthemes
glorious-services-support/glorious-services-support.php 92% from 13 tests
This is the main PHP file of "Glorious Services & Support" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 260 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin52,408 lines of code in 190 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 112 | 7,272 | 16,097 | 30,629 |
PO File | 13 | 7,878 | 9,532 | 16,967 |
Sass | 34 | 464 | 80 | 2,852 |
CSS | 14 | 0 | 25 | 672 |
SVG | 2 | 0 | 2 | 627 |
JavaScript | 5 | 54 | 135 | 308 |
Markdown | 6 | 106 | 0 | 288 |
JSON | 2 | 0 | 0 | 37 |
YAML | 2 | 2 | 0 | 28 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 2,895)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 89.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,895.00 |
Average method complexity | 4.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 45 | |
▷ Abstract classes | 2 | 4.44% |
▷ Concrete classes | 43 | 95.56% |
▷ Final classes | 0 | 0.00% |
Methods | 1,133 | |
▷ Static methods | 173 | 15.27% |
▷ Public methods | 791 | 69.81% |
▷ Protected methods | 15 | 1.32% |
▷ Private methods | 327 | 28.86% |
Functions | 101 | |
▷ Named functions | 101 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 125 | |
▷ Global constants | 100 | 80.00% |
▷ Class constants | 25 | 20.00% |
▷ Public constants | 25 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
41 PNG files occupy 0.67MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/includes/freemius-pricing/27b5a722a5553d9de0170325267fccec.png | 6.35KB | 3.38KB | ▼ 46.76% |
assets/img/multisite.png | 23.92KB | 12.16KB | ▼ 49.18% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
images/icon24.png | 1.24KB | 1.16KB | ▼ 6.07% |
freemius-pricing/178afa6030e76635dbe835e111d2c507.png | 5.88KB | 3.01KB | ▼ 48.84% |