Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼5.89ms] Passed 4 tests
This is a short check of server-side resources used by Bio Links
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.98 ▲0.19 |
Dashboard /wp-admin | 3.45 ▲0.15 | 49.52 ▼3.07 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 43.69 ▼6.46 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 82.70 ▼14.20 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 35.96 ▲0.83 |
All Items /wp-admin/edit.php?post_type=biolink | 3.42 | 33.41 |
Add New /wp-admin/post-new.php?post_type=biolink | 3.81 | 52.80 |
Server storage [IO: ▲3.89MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 442 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Bio Links: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲114 | 13.28 ▼1.09 | 2.09 ▲0.39 | 42.46 ▼2.62 |
Dashboard /wp-admin | 2,241 ▲50 | 5.94 ▲0.96 | 106.46 ▼10.09 | 40.12 ▼10.40 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.09 ▲0.09 | 37.21 ▼2.36 | 33.07 ▼3.53 |
Add New Post /wp-admin/post-new.php | 1,543 ▲10 | 23.38 ▲0.25 | 685.82 ▲54.93 | 56.09 ▲2.91 |
Media Library /wp-admin/upload.php | 1,426 ▲41 | 4.26 ▼0.00 | 98.22 ▼3.10 | 41.99 ▲0.73 |
All Items /wp-admin/edit.php?post_type=biolink | 1,088 | 1.99 | 39.35 | 27.32 |
Add New /wp-admin/post-new.php?post_type=biolink | 1,841 | 3.61 | 62.50 | 46.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% 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 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/bio-links/vendor/cmb2/cmb2/apigen/hook-docs.php
- 48× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/bio-links/vendor/cmb2/cmb2/includes/CMB2.php:21
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/bio-links/vendor/cmb2/cmb2/includes/types/CMB2_Type_File_List.php:13
- > PHP Warning
file_get_contents(/Users/JT/Sites/wpengine/api/tree.html): failed to open stream: No such file or directory in wp-content/plugins/bio-links/vendor/cmb2/cmb2/apigen/hook-docs.php on line 221
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/bio-links/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Multicheck' not found in wp-content/plugins/bio-links/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/bio-links/vendor/cmb2/cmb2/includes/types/CMB2_Type_Text.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function cmb2_dir() in wp-content/plugins/bio-links/vendor/cmb2/cmb2/includes/rest-api/CMB2_REST_Controller.php:4
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Select' not found in wp-content/plugins/bio-links/vendor/cmb2/cmb2/includes/types/CMB2_Type_Select_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/bio-links/vendor/cmb2/cmb2/includes/types/CMB2_Type_Title.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/bio-links/vendor/cmb2/cmb2/includes/types/CMB2_Type_Wysiwyg.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5 in bio-links/assets to your readme.txt
bio-links/bio-links.php Passed 13 tests
The main PHP file in "Bio Links" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
118 characters long description:
With Bio Links plugin you can turn a single link into many. A helpful tool direct your visitors where they need to go.
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 plugin66,954 lines of code in 261 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
JSON | 6 | 0 | 0 | 16,883 |
PHP | 85 | 2,580 | 6,600 | 8,105 |
CSS | 16 | 1,271 | 1,164 | 5,100 |
JavaScript | 14 | 476 | 685 | 2,462 |
Sass | 16 | 300 | 25 | 1,379 |
Markdown | 4 | 233 | 0 | 702 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 16.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 183.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 82 | |
▷ Abstract classes | 8 | 9.76% |
▷ Concrete classes | 74 | 90.24% |
▷ Final classes | 1 | 1.35% |
Methods | 598 | |
▷ Static methods | 100 | 16.72% |
▷ Public methods | 499 | 83.44% |
▷ Protected methods | 91 | 15.22% |
▷ Private methods | 8 | 1.34% |
Functions | 51 | |
▷ Named functions | 48 | 94.12% |
▷ Anonymous functions | 3 | 5.88% |
Constants | 17 | |
▷ Global constants | 11 | 64.71% |
▷ Class constants | 6 | 35.29% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
22 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/cmb2/cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
vendor/cmb2/cmb2/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
vendor/cmb2/cmb2/apigen/theme-bootstrap/src/resources/collapsed.png | 0.24KB | 0.14KB | ▼ 41.77% |
vendor/cmb2/cmb2/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
vendor/cmb2/cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |