Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.18MB] [CPU: ▼5.90ms] Passed 4 tests
A check of server-side resources used by Follow Us Badges
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 39.22 ▼9.02 |
Dashboard /wp-admin | 3.48 ▲0.18 | 46.06 ▼2.62 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 46.89 ▼2.07 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 83.62 ▼9.87 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 34.98 ▲0.52 |
Follow Us Badges /wp-admin/options-general.php?page=wpsite-follow-us-badges-settings | 3.80 | 46.14 |
Server storage [IO: ▲1.42MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 61 new files
Database: no new tables, 9 new options
New WordPress options |
---|
wpsite_follow_us_settings |
widget_theysaidso_widget |
db_upgraded |
wpsite_follow_us_badges_version |
theysaidso_admin_options |
widget_wpsite_follow_us_badges |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Follow Us Badges
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.54 ▼0.99 | 1.73 ▼0.95 | 39.94 ▼6.84 |
Dashboard /wp-admin | 2,213 ▲25 | 5.86 ▼0.07 | 106.66 ▲2.40 | 40.38 ▼3.28 |
Posts /wp-admin/edit.php | 2,072 ▼17 | 1.97 ▼0.05 | 35.15 ▼1.31 | 31.97 ▼4.17 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.44 ▲0.80 | 626.01 ▼67.62 | 47.70 ▼13.71 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.20 ▼0.08 | 97.25 ▼16.88 | 44.06 ▼4.00 |
Follow Us Badges /wp-admin/options-general.php?page=wpsite-follow-us-badges-settings | 2,952 | 2.64 | 60.14 | 51.18 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_wpsite_follow_us_badges
- theysaidso_admin_options
- wpsite_follow_us_settings
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wpsite-follow-us-badges/admin/sidebar.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wpsite-follow-us-badges/admin/header.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wpsite-follow-us-badges/admin/header.php:7
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=wpsite-follow-us-badges-settings
- > Network (severe)
http://feeds.feedburner.com/99robots?format=sigpro - Failed to load resource: net::ERR_BLOCKED_BY_RESPONSE.NotSameSite
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Invalid URI found ("")
- Tags: There are too many tags (36 tag instead of maximum 10)
wpsite-follow-us-badges/wpsite-follow-us-badges.php 92% from 13 tests
"Follow Us Badges" version 3.1.10's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages")
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 plugin3,664 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 367 | 187 | 1,956 |
SVG | 2 | 0 | 0 | 794 |
CSS | 8 | 101 | 34 | 615 |
JavaScript | 1 | 77 | 8 | 228 |
Markdown | 1 | 13 | 0 | 71 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.93 |
Average class complexity | 118.00 |
▷ Minimum class complexity | 118.00 |
▷ Maximum class complexity | 118.00 |
Average method complexity | 10.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 8 | 66.67% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
32 PNG files occupy 0.32MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/linkedin.png | 1.20KB | 0.26KB | ▼ 78.28% |
img/youtube-old.png | 3.86KB | 0.77KB | ▼ 80.12% |
admin/img/ad-custom-development.png | 48.82KB | 18.46KB | ▼ 62.20% |
img/logo.png | 2.74KB | 2.01KB | ▼ 26.60% |
img/rainbow-strip-hz-wide.png | 3.24KB | 0.57KB | ▼ 82.36% |