Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼1.91ms] Passed 4 tests
An overview of server-side resources used by Advanced WPLink
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 45.75 ▲4.81 |
Dashboard /wp-admin | 3.39 ▲0.09 | 48.65 ▲2.49 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 45.26 ▼0.11 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 85.32 ▼10.98 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 35.00 ▲0.98 |
Advanced WPLink /wp-admin/options-general.php?page=advanced-wplink-settings | 3.28 | 29.79 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
nm-awl_version |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
nm-awl_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced WPLink
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲95 | 14.74 ▲0.15 | 1.72 ▲0.06 | 43.18 ▲3.10 |
Dashboard /wp-admin | 2,259 ▲85 | 5.80 ▲0.17 | 103.05 ▲15.54 | 41.39 ▼0.54 |
Posts /wp-admin/edit.php | 2,105 ▲2 | 2.03 ▼0.00 | 33.48 ▼2.12 | 36.20 ▲3.41 |
Add New Post /wp-admin/post-new.php | 1,578 ▲50 | 23.37 ▲0.31 | 627.29 ▼58.65 | 35.12 ▼20.52 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.19 ▲0.01 | 94.08 ▼10.27 | 41.22 ▼8.38 |
Advanced WPLink /wp-admin/options-general.php?page=advanced-wplink-settings | 942 | 1.69 | 22.91 | 42.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- nm-awl_version
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- nm-awl_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/advanced-wplink/advanced-wplink.php:38
- > 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
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 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- 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 main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 143 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! 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
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
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
No PNG files were detected