Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.78ms] Passed 4 tests
A check of server-side resources used by solid_socials
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 38.34 ▼4.12 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.97 ▼7.68 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.33 ▼4.91 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.41 ▼6.42 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.60 ▲0.26 |
solid_socials /wp-admin/options-general.php?page=solid_socials_settings | 3.22 | 28.06 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
solid_socials |
Browser metrics Passed 4 tests
Checking browser requirements for solid_socials
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲49 | 14.48 ▲0.04 | 1.66 ▼0.56 | 43.89 ▼9.43 |
Dashboard /wp-admin | 2,213 ▲25 | 5.85 ▲0.02 | 109.73 ▲7.83 | 42.74 ▲2.23 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.03 | 36.70 ▼6.94 | 34.18 ▼3.19 |
Add New Post /wp-admin/post-new.php | 1,540 ▼2 | 23.36 ▲5.05 | 687.74 ▲73.86 | 59.78 ▲4.25 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.19 ▼0.05 | 94.35 ▼4.03 | 42.93 ▲1.01 |
solid_socials /wp-admin/options-general.php?page=solid_socials_settings | 964 | 2.02 | 25.20 | 31.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- solid_socials
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=solid_socials_settings
- > Notice in wp-content/plugins/solid-socials/admin_options.php+54
Undefined variable: updated
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined index: solid_socials_twitter_handle in wp-content/plugins/solid-socials/options.php on line 5
- > PHP Notice
Undefined index: solid_socials_fb_option in wp-content/plugins/solid-socials/options.php on line 4
- > PHP Notice
Undefined index: solid_socials_header_height in wp-content/plugins/solid-socials/options.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/solid-socials/wgt.php:2
- > PHP Notice
Undefined index: solid_socials_position in wp-content/plugins/solid-socials/options.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/solid-socials/admin_options.php:33
- > PHP Notice
Undefined index: solid_socials_display in wp-content/plugins/solid-socials/options.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/solid-socials/solid-socials.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/solid-socials/options.php:13
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Screenshots: Screenshot #1 (This screen shot shows the plugin in action "http://codeanthology.com/wp-content/uploads/2013/12/Screen-Shot-2013-12-08-at-7.11.40-PM.png") image required
solid-socials/solid-socials.php Passed 13 tests
The entry point to "solid_socials" version 0.5 is a PHP file that has certain tags in its header comment area
66 characters long description:
solid_socials is an easy to use, responsive social sharing plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected491 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 63 | 1 | 227 |
PHP | 4 | 79 | 47 | 217 |
JavaScript | 1 | 21 | 14 | 47 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 6 | |
▷ Named functions | 6 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/close_solid.png | 1.28KB | 0.35KB | ▼ 72.67% |