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: ▼4.25ms] Passed 4 tests
This is a short check of server-side resources used by Multi Link in Bio
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 40.52 ▲1.68 |
Dashboard /wp-admin | 3.40 ▲0.09 | 47.76 ▼2.60 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 49.66 ▲1.58 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 82.56 ▼16.77 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 35.29 ▲0.79 |
Link in Bio /wp-admin/admin.php?page=link_settings | 3.26 | 27.41 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Multi Link in Bio
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 14.28 ▼0.07 | 2.02 ▲0.40 | 42.19 ▼2.16 |
Dashboard /wp-admin | 2,214 ▲37 | 5.63 ▲0.05 | 97.20 ▼4.00 | 42.05 ▼2.49 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.03 ▲0.06 | 34.61 ▼2.93 | 34.10 ▼2.85 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 23.61 ▼0.06 | 674.08 ▲14.44 | 52.71 ▼2.83 |
Media Library /wp-admin/upload.php | 1,419 ▲16 | 4.17 ▲0.00 | 101.18 ▲5.85 | 43.46 ▼1.47 |
Link in Bio /wp-admin/admin.php?page=link_settings | 974 | 1.99 | 22.23 | 28.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=link_settings
- > Notice in wp-content/plugins/multi-link-in-bio/link_admin.php+43
Undefined index: tab
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
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multi-link-in-bio/link_shortcode.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/multi-link-in-bio/template/link-bio-template.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were 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
Attributes that require attention:
- Screenshots: A description for screenshot #2 is missing in multi-link-in-bio/assets to your readme.txt
multi-link-in-bio/multi-link-in-bio.php 85% from 13 tests
The main PHP file in "Multi Link in Bio" ver. 0.1.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires at least: Required version does not match the one declared in readme.txt ("5.2" instead of "2.6")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected979 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 49 | 28 | 612 |
PO File | 2 | 80 | 82 | 202 |
CSS | 11 | 45 | 12 | 165 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected