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.05MB] [CPU: ▼0.71ms] Passed 4 tests
An overview of server-side resources used by Follow Us On Social Media
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.31 ▼5.31 |
Dashboard /wp-admin | 3.36 ▲0.06 | 49.62 ▲1.17 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 49.61 ▲2.26 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 91.05 ▼0.96 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.70 ▲2.25 |
Follow Us On Social Media /wp-admin/options-general.php?page=follow-us-on-social-media | 3.25 | 30.93 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
fuosm_settings |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Follow Us On Social Media
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲155 | 13.59 ▼0.78 | 5.88 ▲3.62 | 40.99 ▲0.73 |
Dashboard /wp-admin | 2,207 ▲19 | 5.99 ▲1.11 | 95.69 ▼14.36 | 38.74 ▼1.38 |
Posts /wp-admin/edit.php | 2,072 ▼17 | 2.04 ▲0.05 | 35.73 ▼4.92 | 30.26 ▼1.47 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.34 ▲5.03 | 622.41 ▼11.28 | 65.50 ▲9.31 |
Media Library /wp-admin/upload.php | 1,392 ▲13 | 4.22 ▼0.03 | 105.77 ▲0.59 | 46.54 ▲1.52 |
Follow Us On Social Media /wp-admin/options-general.php?page=follow-us-on-social-media | 761 | 2.07 | 24.99 | 37.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- fuosm_settings
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/follow-us-on-social-media/public/views/public.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/follow-us-on-social-media/admin/views/admin.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% 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
Please fix the following attributes:
- Screenshots: A description for screenshot #1 is required in follow-us-on-social-media/assets to your readme.txt
- Contributors: Plugin contributors not specified
- Tags: You are using too many tags: 12 tag instead of maximum 10
follow-us-on-social-media/follow-us-on-social-media.php 92% from 13 tests
The entry point to "Follow Us On Social Media" version 1.0.7 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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 plugin303 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 111 | 457 | 224 |
CSS | 2 | 19 | 14 | 69 |
JavaScript | 2 | 8 | 2 | 10 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 23 | |
▷ Static methods | 7 | 30.43% |
▷ Public methods | 18 | 78.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 21.74% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.47MB with 0.30MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 450.52KB | 105.76KB | ▼ 76.52% |
assets/banner-1544x500.png | 23.10KB | 9.63KB | ▼ 58.33% |
assets/banner-772x250.png | 11.50KB | 5.06KB | ▼ 56.00% |