Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼138.48ms] Passed 4 tests
A check of server-side resources used by TechGasp Link Master
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.13 | 35.27 ▲16.13 |
Dashboard /wp-admin | 3.09 ▲0.03 | 44.83 ▲5.64 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 43.41 ▼0.30 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 89.52 ▼560.68 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 32.12 ▲1.44 |
Link Master /wp-admin/admin.php?page=linkedin-master | 3.03 | 26.08 |
Settings /wp-admin/admin.php?page=linkedin-master-admin-settings-wide | 3.06 | 40.58 |
Add-ons /wp-admin/admin.php?page=linkedin-master-admin-addons | 3.07 | 28.04 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 4 new options
New WordPress options |
---|
linkedin_master_system_wide |
widget_linkedin_master_widget_profile_member |
linkedin_master_system_wide_language |
widget_linkedin_master_widget_buttons |
Browser metrics Passed 4 tests
TechGasp Link Master: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,717 ▲121 | 15.82 ▲0.28 | 9.32 ▼0.46 | 47.73 ▲2.15 |
Dashboard /wp-admin | 3,001 ▲70 | 5.95 ▼0.15 | 124.99 ▼29.05 | 141.46 ▲28.85 |
Posts /wp-admin/edit.php | 2,781 ▲42 | 2.58 ▼0.11 | 63.65 ▲1.10 | 94.46 ▲9.16 |
Add New Post /wp-admin/post-new.php | 2,082 ▲467 | 19.45 ▼2.20 | 372.74 ▲90.69 | 108.47 ▲8.35 |
Media Library /wp-admin/upload.php | 1,783 ▼27 | 5.01 ▼0.02 | 127.78 ▼32.96 | 142.77 ▲23.92 |
Link Master /wp-admin/admin.php?page=linkedin-master | 1,410 | 4.16 | 99.26 | 79.84 |
Settings /wp-admin/admin.php?page=linkedin-master-admin-settings-wide | 1,308 | 2.06 | 53.63 | 82.85 |
Add-ons /wp-admin/admin.php?page=linkedin-master-admin-addons | 1,425 | 2.10 | 54.39 | 76.51 |
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 does not fully uninstall, leaving 4 options in the database
- widget_linkedin_master_widget_buttons
- linkedin_master_system_wide_language
- widget_linkedin_master_widget_profile_member
- linkedin_master_system_wide
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)
Even though no errors were found, 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 items
- 12× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/linkedin-master/includes/linkedin-master-widget-buttons.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/linkedin-master/includes/linkedin-master-admin.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/linkedin-master/includes/linkedin-master-admin-addons.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/linkedin-master/includes/linkedin-master-admin-table-news.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/linkedin-master/linkedin-master.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/linkedin-master/includes/linkedin-master-admin-table-header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/linkedin-master/includes/linkedin-master-widget-profile-member.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/linkedin-master/includes/linkedin-master-settings-wide.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/linkedin-master/includes/linkedin-master-admin-settings-wide.php:49
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_path() in wp-content/plugins/linkedin-master/includes/linkedin-master-admin-settings-wide-table.php:3
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
linkedin-master/linkedin-master.php 92% from 13 tests
"TechGasp Link Master" version 5.1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 154 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected763 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 45 | 93 | 763 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 5.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 15 | |
▷ Static methods | 2 | 13.33% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.28MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/techgasp-hr.png | 0.94KB | 0.13KB | ▼ 86.60% |
images/techgasp-admin-addons-support.png | 15.84KB | 14.85KB | ▼ 6.26% |
images/techgasp-check-no.png | 21.14KB | 7.14KB | ▼ 66.23% |
images/techgasp-spammaster-logo.png | 174.42KB | 66.22KB | ▼ 62.04% |
images/techgasp-minilogo-16.png | 1.86KB | 0.92KB | ▼ 50.87% |