Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/lowermedia-wp-social/lowermedia-wp-social.php+624
Methods with the same name as their class will not be constructors in a future version of PHP; SocialMediaIcons has a deprecated constructor
Server metrics [RAM: ▼1.65MB] [CPU: ▼54.81ms] Passed 4 tests
A check of server-side resources used by LowerMedia WP Social
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.34 ▼1.12 | 4.67 ▼42.60 |
Dashboard /wp-admin | 2.36 ▼0.95 | 5.91 ▼41.87 |
Posts /wp-admin/edit.php | 2.36 ▼1.00 | 5.73 ▼45.13 |
Add New Post /wp-admin/post-new.php | 2.36 ▼3.53 | 6.07 ▼89.64 |
Media Library /wp-admin/upload.php | 2.36 ▼0.87 | 6.53 ▼28.04 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_socialmediaicons |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for LowerMedia WP Social
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲58 | 13.21 ▼1.45 | 5.07 ▲3.08 | 39.80 ▼2.00 |
Dashboard /wp-admin | 2,218 ▲33 | 5.86 ▲0.82 | 98.20 ▼12.01 | 92.00 ▲48.08 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 2.02 ▲0.00 | 35.04 ▼1.11 | 33.38 ▲0.46 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.21 ▲5.82 | 694.33 ▲51.89 | 79.25 ▲8.81 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.24 ▼0.04 | 101.25 ▼1.14 | 79.12 ▲35.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/lowermedia-wp-social/lowermedia-wp-social.php+624
Methods with the same name as their class will not be constructors in a future version of PHP; SocialMediaIcons has a deprecated constructor
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_socialmediaicons
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
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)
Good news, no errors were detected
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 trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/lowermedia-wp-social/lowermedia-wp-social.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Donate link: Invalid url: ""
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== lowermedia-wp-social ===
)
lowermedia-wp-social/lowermedia-wp-social.php Passed 13 tests
The primary PHP file in "LowerMedia WP Social" version 3.0.3 is used by WordPress to initiate all plugin functionality
136 characters long description:
Social Media Toolbar Made Easy! Creates widget and widget area to display social media profile links at the top or left of your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin1,127 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 122 | 90 | 975 |
CSS | 1 | 26 | 3 | 121 |
Markdown | 1 | 21 | 0 | 31 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.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 | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
17 PNG files occupy 0.12MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/bandcamp.png | 1.17KB | 0.92KB | ▼ 21.63% |
icons/blogger.png | 2.33KB | 1.46KB | ▼ 37.12% |
icons/twitter.png | 4.31KB | 1.72KB | ▼ 60.15% |
icons/instagram.png | 32.96KB | 10.07KB | ▼ 69.44% |
icons/rss.png | 4.55KB | 1.38KB | ▼ 69.69% |