Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WAC_Authority_Checker::wac_wpa_install() should not be called statically
Server metrics [RAM: ▲0.02MB] [CPU: ▼8.92ms] Passed 4 tests
This is a short check of server-side resources used by Website Authority Checker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.03 | 42.39 ▼4.57 |
Dashboard /wp-admin | 3.58 ▲0.02 | 50.37 ▼4.64 |
Posts /wp-admin/edit.php | 3.70 ▲0.02 | 55.65 ▼3.29 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.02 | 86.92 ▼23.18 |
Media Library /wp-admin/upload.php | 3.51 ▲0.02 | 44.49 ▲4.91 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
wac_moz_valid |
db_upgraded |
can_compress_scripts |
wac_moz_key |
wac_moz_secret |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Website Authority Checker
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,933 ▲187 | 13.45 ▼0.69 | 9.55 ▲7.56 | 40.03 ▼5.05 |
Dashboard /wp-admin | 2,209 ▲29 | 5.70 ▲0.01 | 89.65 ▼11.09 | 85.87 ▲39.52 |
Posts /wp-admin/edit.php | 2,093 ▼7 | 2.04 ▼0.01 | 38.70 ▲1.33 | 35.54 ▲1.88 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.44 ▲5.63 | 684.97 ▼10.78 | 56.30 ▲3.81 |
Media Library /wp-admin/upload.php | 1,402 ▼1 | 4.21 ▼0.00 | 101.60 ▼6.64 | 81.51 ▲35.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 9 options
- wac_moz_secret
- theysaidso_admin_options
- db_upgraded
- wac_moz_key
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- wac_moz_valid
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/website-authority-checker/wac-boxhtml.php
- > /wp-content/plugins/website-authority-checker/lib/checkAuthority.php
- > /wp-content/plugins/website-authority-checker/settingPage.php
- > /wp-content/plugins/website-authority-checker/actions.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/website-authority-checker/website-authority-checker.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: moz trust, page authority, links equity, page rank, moz rank...
website-authority-checker/website-authority-checker.php 92% from 13 tests
The main PHP script in "Website Authority Checker" version 1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 142 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin505 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 150 | 54 | 397 |
CSS | 1 | 8 | 1 | 69 |
JavaScript | 1 | 7 | 1 | 39 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
imgs/tick.png | 0.44KB | 0.40KB | ▼ 9.31% |
imgs/logo.png | 0.56KB | 0.50KB | ▼ 10.57% |