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
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.14ms] Passed 4 tests
This is a short check of server-side resources used by WP to LinkedIn Auto Publish
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.09 ▼1.14 |
Dashboard /wp-admin | 3.34 ▲0.03 | 46.13 ▼0.99 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.75 ▼0.31 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 80.95 ▼10.10 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 42.80 ▲8.01 |
About /wp-admin/admin.php?page=linkedin-auto-publish-about | 3.62 | 36.96 |
Logs /wp-admin/admin.php?page=linkedin-auto-publish-log | 3.27 | 32.90 |
Suggest a Feature /wp-admin/admin.php?page=linkedin-auto-publish-suggest-features | 3.31 | 30.17 |
Settings /wp-admin/admin.php?page=linkedin-auto-publish-settings | 3.63 | 37.66 |
Server storage [IO: ▲1.98MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 76 new files
Database: no new tables, 39 new options
New WordPress options |
---|
xyz_lnap_future_to_publish |
xyz_lnap_default_selection_edit |
xyz_lnap_credit_dismiss |
xyz_lnap_premium_version_ads |
xyz_lnap_include_pages |
widget_recent-posts |
xyz_lnap_post_logs |
lnap_installed_date |
xyz_lnap_ln_shareprivate |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP to LinkedIn Auto Publish
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲71 | 14.10 ▼0.52 | 1.59 ▼0.34 | 38.69 ▼2.69 |
Dashboard /wp-admin | 2,238 ▲61 | 5.61 ▲0.08 | 82.78 ▼3.07 | 67.27 ▲21.39 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 2.02 ▼0.11 | 34.48 ▼0.70 | 33.78 ▼1.31 |
Add New Post /wp-admin/post-new.php | 1,716 ▲190 | 22.14 ▼0.89 | 746.95 ▲56.12 | 59.36 ▼4.53 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.14 ▼0.06 | 102.62 ▲4.12 | 70.01 ▲24.39 |
About /wp-admin/admin.php?page=linkedin-auto-publish-about | 2,184 | 1.68 | 23.14 | 55.43 |
Logs /wp-admin/admin.php?page=linkedin-auto-publish-log | 1,130 | 1.68 | 23.29 | 36.06 |
Suggest a Feature /wp-admin/admin.php?page=linkedin-auto-publish-suggest-features | 1,121 | 1.74 | 23.93 | 37.57 |
Settings /wp-admin/admin.php?page=linkedin-auto-publish-settings | 1,779 | 1.88 | 27.36 | 111.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- xyz_credit_link
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
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 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
Please fix the following attributes:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
linkedin-auto-publish/linkedin-auto-publish.php 92% from 13 tests
The main PHP file in "WP to LinkedIn Auto Publish" ver. 1.9.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 243 characters long)
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 plugin14,560 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 9 | 2,205 | 2,313 | 5,817 |
PHP | 19 | 673 | 460 | 5,417 |
SVG | 1 | 0 | 0 | 2,671 |
CSS | 2 | 194 | 8 | 632 |
JavaScript | 1 | 4 | 0 | 23 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 14.77 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 2 | 15.38% |
▷ Concrete classes | 11 | 84.62% |
▷ Final classes | 0 | 0.00% |
Methods | 105 | |
▷ Static methods | 10 | 9.52% |
▷ Public methods | 89 | 84.76% |
▷ Protected methods | 7 | 6.67% |
▷ Private methods | 9 | 8.57% |
Functions | 36 | |
▷ Named functions | 35 | 97.22% |
▷ Anonymous functions | 1 | 2.78% |
Constants | 4 | |
▷ Global constants | 4 | 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
23 PNG files occupy 0.08MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/edit.png | 3.18KB | 2.07KB | ▼ 34.91% |
images/facebook.png | 0.65KB | 0.65KB | ▼ 0.75% |
images/linkedin.png | 0.87KB | 0.87KB | 0.00% |
images/xyz.png | 24.23KB | 10.73KB | ▼ 55.71% |
images/orange_buynow.png | 4.92KB | 2.67KB | ▼ 45.76% |