Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼7.95ms] Passed 4 tests
Analyzing server-side resources used by Link Juice Keeper
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.97 ▼0.38 |
Dashboard /wp-admin | 3.40 ▲0.05 | 40.88 ▼18.25 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 44.99 ▼2.03 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 76.66 ▼5.56 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 31.21 ▼5.95 |
404 Logs /wp-admin/admin.php?page=link-juice-keeper-404-logs | 3.28 | 41.57 |
Settings /wp-admin/admin.php?page=link-juice-keeper | 3.34 | 34.80 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_link_juice_keeper |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
ljk_db_version |
ljk_main_settings |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Link Juice Keeper
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲153 | 13.80 ▼0.75 | 7.74 ▲6.27 | 43.35 ▲2.78 |
Dashboard /wp-admin | 2,222 ▲48 | 5.61 ▼0.06 | 93.68 ▲6.02 | 36.85 ▼4.75 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.03 ▲0.00 | 49.92 ▲14.38 | 36.04 ▲3.10 |
Add New Post /wp-admin/post-new.php | 1,549 ▲12 | 23.15 ▲4.96 | 663.42 ▲57.25 | 58.29 ▼18.79 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.20 ▼0.10 | 95.97 ▼1.11 | 41.46 ▼0.56 |
404 Logs /wp-admin/admin.php?page=link-juice-keeper-404-logs | 1,021 | 2.04 | 24.68 | 28.94 |
Settings /wp-admin/admin.php?page=link-juice-keeper | 1,094 | 2.01 | 23.69 | 34.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
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)
Good news, no errors were detected
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 fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/link-juice-keeper/public/partials/link-juice-keeper-public-display.php
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Link_Juice_Keeper_Logs' not found in wp-content/plugins/link-juice-keeper/admin/partials/link-juice-keeper-admin-display-logs.php:17
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/link-juice-keeper/admin/class-link-juice-keeper-logs.php on line 16
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/link-juice-keeper/admin/class-link-juice-keeper-logs.php on line 16
- > PHP Fatal error
Uncaught Error: Class 'Link_Juice_Keeper_Admin' not found in wp-content/plugins/link-juice-keeper/admin/partials/link-juice-keeper-admin-display.php:15
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/link-juice-keeper/admin/class-link-juice-keeper-logs.php on line 16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were 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
7 plugin tags: links, 404, link, redirect, error...
link-juice-keeper/link-juice-keeper.php 92% from 13 tests
Analyzing the main PHP file in "Link Juice Keeper" version 2.0.3
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 146 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected905 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 354 | 1,230 | 844 |
JavaScript | 2 | 7 | 27 | 31 |
CSS | 2 | 3 | 4 | 30 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 3 | 4.69% |
▷ Public methods | 45 | 70.31% |
▷ Protected methods | 2 | 3.12% |
▷ Private methods | 17 | 26.56% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin