Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▼1.07ms] Passed 4 tests
An overview of server-side resources used by LuckyWP Wiki Linking
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 38.49 ▼4.55 |
Dashboard /wp-admin | 3.47 ▲0.17 | 47.82 ▼5.32 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 52.03 ▲3.98 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 104.48 ▲4.49 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 36.89 ▲1.61 |
Wiki Linking /wp-admin/admin.php?page=lwpwl_main | 3.47 | 40.06 |
Settings /wp-admin/admin.php?page=lwpwl_settings | 3.35 | 35.42 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 90 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_lwpwl_post |
wp_lwpwl_item |
New WordPress options |
---|
lwpwl_general |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
lwpwl_dbVersion |
Browser metrics Passed 4 tests
Checking browser requirements for LuckyWP Wiki Linking
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.35 ▼0.08 | 1.69 ▼0.04 | 43.14 ▲2.02 |
Dashboard /wp-admin | 2,221 ▲44 | 5.58 ▼0.02 | 93.58 ▼1.48 | 41.40 ▼0.81 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 1.95 ▲0.00 | 43.25 ▲6.47 | 36.61 ▼0.87 |
Add New Post /wp-admin/post-new.php | 6,290 ▲4,755 | 25.76 ▲7.48 | 927.82 ▲296.69 | 56.28 ▼16.98 |
Media Library /wp-admin/upload.php | 1,423 ▲29 | 4.24 ▲0.04 | 104.79 ▲4.09 | 47.92 ▲2.74 |
Wiki Linking /wp-admin/admin.php?page=lwpwl_main | 1,017 | 1.77 | 32.36 | 51.22 |
Settings /wp-admin/admin.php?page=lwpwl_settings | 940 | 1.76 | 25.57 | 31.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% 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)
The smoke test was a success, however most plugin functionality was not tested
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
- 73× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: item in wp-content/plugins/luckywp-wiki-linking/admin/views/main/_card.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\wikiLinking\\core\\validators\\Validator' not found in wp-content/plugins/luckywp-wiki-linking/core/validators/FilterValidator.php:5
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\wikiLinking\\core\\base\\Widget' not found in wp-content/plugins/luckywp-wiki-linking/admin/widgets/noticeDbMigrate/NoticeDbMigrate.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/luckywp-wiki-linking/admin/views/main/index.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr__() in wp-content/plugins/luckywp-wiki-linking/admin/views/mbPostGeneral/keyword_add.php:13
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\wikiLinking\\core\\base\\BaseObject' not found in wp-content/plugins/luckywp-wiki-linking/core/base/Model.php:14
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\wikiLinking\\core\\base\\ServiceLocator' not found in wp-content/plugins/luckywp-wiki-linking/core/base/BasePlugin.php:10
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\wikiLinking\\core\\base\\BaseObject' not found in wp-content/plugins/luckywp-wiki-linking/core/wp/Options.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/luckywp-wiki-linking/admin/views/main/bind_item_to_posts_success.php:10
- > PHP Fatal error
Uncaught Error: Class 'luckywp\\wikiLinking\\core\\base\\Widget' not found in wp-content/plugins/luckywp-wiki-linking/admin/widgets/accessRoles/AccessRoles.php:9
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 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: internal links, internal linking, wiki, linking, links...
luckywp-wiki-linking/luckywp-wiki-linking.php Passed 13 tests
The entry point to "LuckyWP Wiki Linking" version 1.0.3 is a PHP file that has certain tags in its header comment area
80 characters long description:
The plugin allows to easily organize a linking in the wiki style on the website.
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
There were no executable files found in this plugin4,281 lines of code in 85 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 83 | 753 | 1,125 | 4,279 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 7.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 28 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 59 | |
▷ Abstract classes | 6 | 10.17% |
▷ Concrete classes | 53 | 89.83% |
▷ Final classes | 0 | 0.00% |
Methods | 260 | |
▷ Static methods | 43 | 16.54% |
▷ Public methods | 239 | 91.92% |
▷ Protected methods | 15 | 5.77% |
▷ Private methods | 6 | 2.31% |
Functions | 26 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 26 | 100.00% |
Constants | 13 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 13 | 100.00% |
▷ Public constants | 13 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin