Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.97MB] [CPU: ▼174.91ms] Passed 4 tests
This is a short check of server-side resources used by LinkedIn Company Updates
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.63 ▼0.21 | 14.98 ▼10.87 |
Dashboard /wp-admin | 2.68 ▼0.38 | 16.83 ▼26.91 |
Posts /wp-admin/edit.php | 2.68 ▼0.43 | 14.20 ▼21.92 |
Add New Post /wp-admin/post-new.php | 2.68 ▼2.76 | 12.80 ▼636.09 |
Media Library /wp-admin/upload.php | 2.68 ▼0.32 | 12.18 ▼14.72 |
Linkedin Company Updates /wp-admin/options-general.php?page=linkedin_company_updates | 1.98 | 7.68 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 2 new options
New WordPress options |
---|
linkedin_company_updates |
linkedin_company_updates_version |
Browser metrics Passed 4 tests
An overview of browser requirements for LinkedIn Company Updates
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,695 ▲94 | 15.97 ▼0.05 | 9.44 ▲3.39 | 76.29 ▲1.76 |
Dashboard /wp-admin | 2,962 ▲63 | 6.08 ▲0.03 | 116.21 ▼16.36 | 165.37 ▼8.07 |
Posts /wp-admin/edit.php | 2,772 ▲29 | 3.25 ▲0.01 | 64.41 ▼1.00 | 132.86 ▼6.29 |
Add New Post /wp-admin/post-new.php | 3,829 ▲94 | 19.13 ▲1.55 | 412.54 ▼56.02 | 164.49 ▼5.52 |
Media Library /wp-admin/upload.php | 1,781 ▲29 | 5.48 ▲0.03 | 151.62 ▲8.41 | 188.31 ▼1.75 |
Linkedin Company Updates /wp-admin/options-general.php?page=linkedin_company_updates | 1,463 | 2.55 | 57.82 | 146.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/company-updates-for-linkedin/linkedin-company-updates.php+249
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 2 options in the database
- linkedin_company_updates
- linkedin_company_updates_version
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=linkedin_company_updates
- > Warning in wp-content/plugins/company-updates-for-linkedin/linkedin-company-updates.php+175
Invalid argument supplied for foreach()
- > GET request to /wp-admin/options-general.php?page=linkedin_company_updates
- > Notice in wp-content/plugins/company-updates-for-linkedin/linkedin-company-updates.php+249
Trying to access array offset on value of type bool
SRP 50% 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× PHP files output text when accessed directly:
- > /wp-content/plugins/company-updates-for-linkedin/linkedin-company-updates.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=linkedin_company_updates
- > Network (severe)
wp-content/plugins/css/style-admin.css?ver=1.5.3 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=linkedin_company_updates
- > Network (severe)
wp-content/plugins/js/script.js?ver=1.5.3 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
9 plugin tags: latest, update, company, recent, linkedin...
company-updates-for-linkedin/linkedin-company-updates.php 92% from 13 tests
The main file in "LinkedIn Company Updates" v. 1.5.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("company-updates-for-linkedin.php" instead of "linkedin-company-updates.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin850 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 246 | 210 | 553 |
PO File | 2 | 82 | 86 | 225 |
CSS | 3 | 7 | 7 | 41 |
JavaScript | 2 | 10 | 1 | 31 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 76.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 23.33% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
1 PNG file occupies 0.36MB with 0.23MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/help_image.png | 364.76KB | 134.05KB | ▼ 63.25% |