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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.10ms] Passed 4 tests
This is a short check of server-side resources used by Social Sharing Buttons by ThemesMatic
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.31 ▼0.05 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.02 ▼4.32 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.58 ▲5.02 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.06 ▼2.47 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.96 ▼1.56 |
Server storage [IO: ▲1.54MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 32 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
themesmatic_sharing_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Social Sharing Buttons by ThemesMatic
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,933 ▲187 | 13.86 ▼0.72 | 8.21 ▲6.36 | 39.94 ▼5.76 |
Dashboard /wp-admin | 2,221 ▲33 | 5.84 ▼0.01 | 99.77 ▼18.80 | 40.83 ▼6.53 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.02 ▼0.04 | 40.13 ▲3.54 | 35.63 ▲1.36 |
Add New Post /wp-admin/post-new.php | 1,530 ▼13 | 23.30 ▲4.79 | 599.95 ▼51.95 | 48.88 ▼7.78 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.24 ▲0.05 | 96.09 ▼15.81 | 42.16 ▼4.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Almost there! Just fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/social-sharing-themesmatic/themesmatic-display.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/social-sharing-themesmatic/social-list.php:536
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/social-sharing-themesmatic/social-sharing-themesmatic.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 87% 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:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6, #7 in social-sharing-themesmatic/assets to your readme.txt
- Requires at least: Invalid plugin version format
social-sharing-themesmatic/social-sharing-themesmatic.php 85% from 13 tests
This is the main PHP file of "Social Sharing Buttons by ThemesMatic" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 269 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected6,326 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 2 | 16 | 2,679 |
SVG | 3 | 0 | 0 | 2,673 |
PHP | 5 | 120 | 71 | 779 |
JavaScript | 2 | 14 | 13 | 195 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 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
3 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/themesmatic-logo-small.png | 4.90KB | 3.38KB | ▼ 30.97% |
img/themesmatic-plugin-icon.png | 2.08KB | 0.92KB | ▼ 55.82% |
img/themesmatic-sharing-header.png | 46.46KB | 19.89KB | ▼ 57.20% |