Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.18MB] [CPU: ▼14.88ms] Passed 4 tests
An overview of server-side resources used by Ultimate LinkedIn Integration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 27.33 ▼14.04 |
Dashboard /wp-admin | 3.14 ▼0.16 | 32.93 ▼21.20 |
Posts /wp-admin/edit.php | 3.27 ▼0.08 | 37.59 ▼9.77 |
Add New Post /wp-admin/post-new.php | 5.47 ▼0.42 | 76.98 ▼14.52 |
Media Library /wp-admin/upload.php | 3.21 ▼0.02 | 29.86 ▼5.15 |
Ultimate LinkedIn Integration /wp-admin/options-general.php?page=linkedin_login_settings | 3.12 | 33.21 |
Server storage [IO: ▲0.08MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Ultimate LinkedIn Integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,784 ▲23 | 14.23 ▼0.14 | 1.76 ▼0.11 | 37.39 ▼5.88 |
Dashboard /wp-admin | 2,193 ▲13 | 5.59 ▼0.10 | 80.45 ▼10.84 | 38.72 ▼5.86 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 2.04 ▲0.01 | 41.49 ▲7.76 | 36.32 ▲0.78 |
Add New Post /wp-admin/post-new.php | 1,543 ▲12 | 23.08 ▼0.29 | 603.48 ▼100.96 | 48.28 ▼5.07 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.21 ▼0.00 | 95.25 ▼12.98 | 44.66 ▼1.72 |
Ultimate LinkedIn Integration /wp-admin/options-general.php?page=linkedin_login_settings | 998 | 2.02 | 22.21 | 27.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=linkedin_login_settings
- > Notice in wp-content/plugins/linkedin-login/includes/lib/class-pkli-mods.php+41
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/linkedin-login/linkedin-login.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=linkedin_login_settings
- > Network (severe)
wp-content/plugins/linkedin-login/includes/assets/css/admin.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Requires php: Version not formatted correctly
linkedin-login/linkedin-login.php 92% from 13 tests
The main PHP script in "Ultimate LinkedIn Integration" version 1.1.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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
No dangerous file extensions were detected804 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 277 | 302 | 804 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 71.00 |
Average method complexity | 5.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 1 | 2.78% |
▷ Public methods | 28 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 22.22% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 2 | 25.00% |
▷ Class constants | 6 | 75.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/assets/img/linkedin.png | 1.00KB | 0.92KB | ▼ 7.84% |
includes/assets/img/linkedin-button.png | 8.18KB | 2.91KB | ▼ 64.36% |