Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲3.83MB] [CPU: ▼275.45ms] Passed 4 tests
Analyzing server-side resources used by Pro Broken Links Maintainer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.20 ▲4.68 | 127.93 ▲73.16 |
Dashboard /wp-admin | 8.22 ▲4.81 | 64.59 ▲29.38 |
Posts /wp-admin/edit.php | 8.22 ▲4.58 | 110.73 ▲64.74 |
Add New Post /wp-admin/post-new.php | 8.22 ▲1.25 | 55.14 ▼1,214.35 |
Media Library /wp-admin/upload.php | 8.22 ▲4.92 | 48.93 ▲18.43 |
Freemius Debug [v.2.3.0] /wp-admin/admin.php?page=freemius | 8.22 | 45.86 |
Server storage [IO: ▲7.92MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 184 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_bs_urls |
wp_bs_invalid_url |
New WordPress options |
---|
fs_api_cache |
pro_links_maintainer_version |
pro_links_maintainer_parser_status |
pro_links_maintainer_installed |
fs_debug_mode |
fs_active_plugins |
fs_accounts |
fs_gdpr |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Pro Broken Links Maintainer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,814 ▲70 | 15.82 ▼0.09 | 5.90 ▲0.13 | 2.58 ▼0.17 |
Dashboard /wp-admin | 2,940 ▲86 | 6.38 ▲0.09 | 118.83 ▼17.84 | 174.99 ▲11.27 |
Posts /wp-admin/edit.php | 2,739 ▲51 | 3.43 ▲0.01 | 63.49 ▼0.70 | 160.80 ▲14.01 |
Add New Post /wp-admin/post-new.php | 1,732 ▲42 | 20.91 ▼0.04 | 484.94 ▲22.11 | 164.44 ▲5.86 |
Media Library /wp-admin/upload.php | 1,746 ▲48 | 5.73 ▲0.02 | 139.89 ▲2.62 | 204.41 ▲13.04 |
Freemius Debug [v.2.3.0] /wp-admin/admin.php?page=freemius | 1,486 | 2.94 | 54.13 | 130.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie tables were found after uninstall: 2 tables
- wp_bs_urls
- wp_bs_invalid_url
- Zombie WordPress options were found after uninstall: 8 options
- pro_links_maintainer_installed
- fs_active_plugins
- pro_links_maintainer_parser_status
- pro_links_maintainer_version
- fs_api_cache
- fs_accounts
- fs_debug_mode
- fs_gdpr
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/pro-links-maintainer-dev/freemius/templates/ajax-loader.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to a member function get_slug() on null in wp-content/plugins/pro-links-maintainer-dev/freemius/templates/account/partials/addon.php:9
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/pro-links-maintainer-dev/freemius/templates/account/partials/addon.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function freemius() in wp-content/plugins/pro-links-maintainer-dev/freemius/templates/partials/network-activation.php:6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pro-links-maintainer-dev/freemius/templates/account/partials/addon.php on line 8
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/pro-links-maintainer-dev/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/pro-links-maintainer-dev/freemius/templates/account/partials/addon.php on line 7
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/pro-links-maintainer-dev/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/pro-links-maintainer-dev/freemius/templates/account/partials/addon.php on line 6
- > 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 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
5 plugin tags: maintenance, broken links, links, seo, broken
pro-links-maintainer-dev/plugin.php 92% from 13 tests
The primary PHP file in "Pro Broken Links Maintainer" version 1.1.7.5 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("pro-links-maintainer-dev.php" instead of "plugin.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin43,477 lines of code in 145 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 119 | 6,904 | 15,382 | 29,495 |
PO File | 10 | 5,710 | 6,913 | 12,558 |
JavaScript | 4 | 618 | 379 | 1,375 |
Markdown | 1 | 8 | 0 | 33 |
CSS | 10 | 0 | 0 | 13 |
JSON | 1 | 0 | 0 | 3 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
These items need your attention
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 2,609)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 64.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,609.00 |
Average method complexity | 4.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 60 | |
▷ Abstract classes | 2 | 3.33% |
▷ Concrete classes | 58 | 96.67% |
▷ Final classes | 6 | 10.34% |
Methods | 1,202 | |
▷ Static methods | 172 | 14.31% |
▷ Public methods | 869 | 72.30% |
▷ Protected methods | 15 | 1.25% |
▷ Private methods | 318 | 26.46% |
Functions | 93 | |
▷ Named functions | 92 | 98.92% |
▷ Anonymous functions | 1 | 1.08% |
Constants | 146 | |
▷ Global constants | 123 | 84.25% |
▷ Class constants | 23 | 15.75% |
▷ Public constants | 23 | 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
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/pro-links-maintainer.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |