Benchmarks
Plugin footprint 83% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼297.95ms] Passed 4 tests
This is a short check of server-side resources used by Advanced WPLink
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.15 | 57.28 ▼23.70 |
Dashboard /wp-admin | 3.51 ▲0.10 | 36.39 ▼2.22 |
Posts /wp-admin/edit.php | 3.73 ▲0.09 | 37.90 ▼0.61 |
Add New Post /wp-admin/post-new.php | 7.05 ▲0.08 | 94.31 ▼1,165.28 |
Media Library /wp-admin/upload.php | 3.38 ▲0.09 | 27.68 ▲4.23 |
Advanced WPLink /wp-admin/options-general.php?page=advanced-wplink-settings | 3.36 | 23.41 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 2 new options
New WordPress options |
---|
nm-awl_version |
nm-awl_options |
Browser metrics Passed 4 tests
Checking browser requirements for Advanced WPLink
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,868 ▲126 | 16.46 ▲1.30 | 5.84 ▼3.62 | 3.01 ▲0.95 |
Dashboard /wp-admin | 2,966 ▲105 | 6.97 ▲0.83 | 152.55 ▲11.09 | 185.23 ▲21.96 |
Posts /wp-admin/edit.php | 2,698 ▲13 | 3.22 ▼0.01 | 62.29 ▼2.49 | 147.05 ▼4.48 |
Add New Post /wp-admin/post-new.php | 1,772 ▲134 | 21.77 ▼0.09 | 453.87 ▲30.03 | 166.72 ▲2.35 |
Media Library /wp-admin/upload.php | 1,708 ▲10 | 5.54 ▲0.02 | 166.02 ▲2.77 | 190.67 ▼16.27 |
Advanced WPLink /wp-admin/options-general.php?page=advanced-wplink-settings | 1,184 | 2.63 | 55.30 | 142.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 2 options
- nm-awl_options
- nm-awl_version
Smoke tests 75% 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 50% 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 items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function NM\\AdvancedWPLink\\add_action() in wp-content/plugins/advanced-wplink/class/AdminPage.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function NM\\AdvancedWPLink\\add_action() in wp-content/plugins/advanced-wplink/class/Editor.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function NM\\AdvancedWPLink\\register_activation_hook() in wp-content/plugins/advanced-wplink/class/Activate.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/advanced-wplink/advanced-wplink.php:38
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Please a description for screenshot #0 in advanced-wplink/assets to your readme.txt
advanced-wplink/advanced-wplink.php 85% from 13 tests
"Advanced WPLink" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: The description should be shorter than 140 characters (currently 143 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
Success! There were no dangerous files found in this plugin1,331 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 159 | 58 | 674 |
PHP | 4 | 54 | 16 | 275 |
PO File | 3 | 87 | 90 | 249 |
Sass | 2 | 10 | 1 | 120 |
Ruby | 1 | 3 | 0 | 11 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 9.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin