Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▲0.47ms] Passed 4 tests
An overview of server-side resources used by LinkedIn Perfect Share
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.10 ▼0.58 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.70 ▲0.80 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.97 ▼0.08 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.78 ▲1.73 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.58 ▲4.16 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for LinkedIn Perfect Share
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.74 ▲0.57 | 1.82 ▼0.11 | 43.12 ▼2.84 |
Dashboard /wp-admin | 2,209 ▲23 | 4.85 ▼0.04 | 97.22 ▼20.48 | 40.53 ▼4.76 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.04 ▲0.03 | 40.59 ▲0.32 | 35.55 ▼2.93 |
Add New Post /wp-admin/post-new.php | 1,533 ▲13 | 23.34 ▼0.22 | 631.79 ▼50.16 | 49.36 ▼3.37 |
Media Library /wp-admin/upload.php | 1,382 ▼0 | 4.20 ▲0.04 | 94.37 ▼6.56 | 40.98 ▼3.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 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 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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function have_posts() in wp-content/plugins/linkedin-perfect-share/templates/linkedin_template.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/linkedin-perfect-share/linkedin-perfect-share.php:32
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
linkedin-perfect-share/linkedin-perfect-share.php Passed 13 tests
The principal PHP file in "LinkedIn Perfect Share" v. 1.0.0 is loaded by WordPress automatically on each request
64 characters long description:
Provides precise Open Graph data to LinkedIn for perfect sharing
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin37 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 17 | 12 | 37 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
4 PNG files occupy 0.34MB with 0.21MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
media/screenshot-full.png | 53.61KB | 22.49KB | ▼ 58.05% |
media/placeit.png | 209.42KB | 66.13KB | ▼ 68.42% |
media/screenshot.png | 68.41KB | 27.51KB | ▼ 59.78% |
media/placeit-80x80.png | 14.11KB | 5.99KB | ▼ 57.51% |