Benchmarks
Plugin footprint 65% 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: ▼1.08MB] [CPU: ▼41.98ms] Passed 4 tests
An overview of server-side resources used by Power Links - Internal Link Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▼0.57 | 22.02 ▼16.88 |
Dashboard /wp-admin | 2.94 ▼0.37 | 18.13 ▼31.72 |
Posts /wp-admin/edit.php | 2.94 ▼0.42 | 18.24 ▼32.02 |
Add New Post /wp-admin/post-new.php | 2.94 ▼2.95 | 18.19 ▼85.65 |
Media Library /wp-admin/upload.php | 2.94 ▼0.29 | 18.16 ▼18.51 |
Settings /wp-admin/edit.php?post_type=keyword_replace&page=wwkr_settings | 2.94 | 17.31 |
Reporting /wp-admin/edit.php?post_type=keyword_replace&page=wwkr_reporting | 2.94 | 20.01 |
Add New /wp-admin/post-new.php?post_type=keyword_replace | 2.94 | 17.07 |
All Power Links /wp-admin/edit.php?post_type=keyword_replace | 2.94 | 18.59 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Power Links - Internal Link Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,434 ▲699 | 16.78 ▲2.19 | 14.82 ▲13.07 | 40.42 ▼9.15 |
Dashboard /wp-admin | 2,386 ▲198 | 6.52 ▲1.65 | 126.38 ▲24.70 | 43.72 ▲1.78 |
Posts /wp-admin/edit.php | 2,295 ▲206 | 3.36 ▲1.35 | 47.89 ▲7.21 | 29.98 ▼6.56 |
Add New Post /wp-admin/post-new.php | 1,563 ▲49 | 23.04 ▲5.44 | 597.43 ▼0.07 | 33.39 ▼14.59 |
Media Library /wp-admin/upload.php | 1,508 ▲117 | 4.18 ▲0.03 | 76.91 ▼21.63 | 42.53 ▼2.70 |
Settings /wp-admin/edit.php?post_type=keyword_replace&page=wwkr_settings | 1,104 | 3.01 | 35.97 | 45.12 |
Reporting /wp-admin/edit.php?post_type=keyword_replace&page=wwkr_reporting | 1,014 | 3.08 | 45.21 | 29.18 |
Add New /wp-admin/post-new.php?post_type=keyword_replace | 1,827 | 3.97 | 63.81 | 33.88 |
All Power Links /wp-admin/edit.php?post_type=keyword_replace | 1,326 | 3.34 | 42.79 | 25.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/power-links/modules/settings.php+297
Undefined variable: locale_taro
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 20 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=keyword_replace
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/power-links/modules/settings.php+331
Undefined variable: locale_taro
- 10 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=keyword_replace
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/power-links/modules/settings.php+13
Undefined index: save_settings_field
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=keyword_replace
- > Notice in wp-content/plugins/power-links/modules/meta_box.php+56
Undefined index: id
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=keyword_replace
- > Notice in wp-content/plugins/power-links/modules/meta_box.php+56
Undefined index: class
- > GET request to /wp-admin/edit.php?post_type=keyword_replace&page=wwkr_settings
- > Notice in wp-content/plugins/power-links/modules/settings.php+144
Undefined index: placeholder
- > GET request to /wp-admin/edit.php?post_type=keyword_replace&page=wwkr_settings
- > Notice in wp-content/plugins/power-links/modules/settings.php+144
Trying to access array offset on value of type bool
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=keyword_replace&page=wwkr_reporting
- > Notice in wp-content/plugins/power-links/modules/settings.php+106
Undefined variable: out
- > GET request to /wp-admin/post-new.php?post_type=keyword_replace
- > Notice in wp-content/plugins/power-links/modules/meta_box.php+217
Undefined index: post_type
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=keyword_replace
- > Notice in wp-content/plugins/power-links/modules/meta_box.php+233
Undefined index: link_text
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=keyword_replace
- > Notice in wp-content/plugins/power-links/modules/meta_box.php+233
Undefined index: link
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=keyword_replace
- > Notice in wp-content/plugins/power-links/modules/meta_box.php+233
Undefined index: target
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=keyword_replace
- > Notice in wp-content/plugins/power-links/modules/meta_box.php+233
Undefined index: number_of_links
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=keyword_replace
- > Notice in wp-content/plugins/power-links/modules/meta_box.php+233
Undefined index: nofollow
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=keyword_replace
- > Notice in wp-content/plugins/power-links/modules/meta_box.php+233
Undefined index: link_cat
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=keyword_replace
- > Notice in wp-content/plugins/power-links/modules/meta_box.php+233
Undefined index: title_keyword
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=keyword_replace
- > Notice in wp-content/plugins/power-links/modules/meta_box.php+79
Undefined index: default
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=keyword_replace
- > Notice in wp-content/plugins/power-links/modules/meta_box.php+62
Undefined index: subtext
- > GET request to /wp-admin/post-new.php?post_type=keyword_replace
- > Notice in wp-content/plugins/power-links/modules/meta_box.php+56
Undefined index: style
- > GET request to /wp-admin/post-new.php?post_type=keyword_replace
- > Warning in wp-content/plugins/power-links/modules/meta_box.php+58
in_array() expects parameter 2 to be array, string given
SRP 50% 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 fix the following items
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/power-links/modules/scripts.php:65
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/power-links/modules/cpt.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function add_Action() in wp-content/plugins/power-links/modules/settings.php:290
- > PHP Fatal error
Uncaught Error: Call to undefined function add_Action() in wp-content/plugins/power-links/modules/meta_box.php:247
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/power-links/modules/scripts.php:65
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/power-links/modules/hooks.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: content links, link manager, site links, internal links, inter links...
power-links/power-links.php Passed 13 tests
The entry point to "Power Links - Internal Link Manager" version 2.3 is a PHP file that has certain tags in its header comment area
54 characters long description:
Manages your WordPress site internal liks effectively.
Code Analysis Passed 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 plugin10,041 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 1 | 0 | 7,460 |
PHP | 7 | 674 | 346 | 2,577 |
JavaScript | 2 | 6 | 0 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 58.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 246.00 |
Average method complexity | 5.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.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 | 109 | |
▷ Static methods | 1 | 0.92% |
▷ Public methods | 94 | 86.24% |
▷ Protected methods | 15 | 13.76% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 7 | 77.78% |
▷ Anonymous functions | 2 | 22.22% |
Constants | 22 | |
▷ Global constants | 22 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin