Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼12.05ms] Passed 4 tests
An overview of server-side resources used by All Social Share Options
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.41 ▼0.06 | 26.92 ▼19.46 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.31 ▼4.84 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.43 ▲1.93 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 83.13 ▼23.40 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.16 ▼0.51 |
Server storage [IO: ▲1.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 48 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for All Social Share Options
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲158 | 13.83 ▼0.78 | 9.76 ▲8.07 | 41.39 ▼1.88 |
Dashboard /wp-admin | 2,209 ▲32 | 5.57 ▲0.04 | 90.97 ▲3.13 | 39.64 ▼1.11 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.03 ▲0.03 | 36.52 ▼4.28 | 36.90 ▲0.23 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 23.02 ▼0.44 | 680.42 ▲59.81 | 69.63 ▲15.27 |
Media Library /wp-admin/upload.php | 1,417 ▲20 | 4.22 ▲0.03 | 107.29 ▼0.48 | 47.21 ▲2.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/all-social-share-options/includes/shortcodes/shortcodelist.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/all-social-share-options/includes/shortcodes/shortcodes.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/all-social-share-options/includes/shortcodes/shortcodelist.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Latest Tweets), #2 (Social Colourful), #3 (Social Plain), #4 (Social List)
all-social-share-options/all-in-one-social.php 92% from 13 tests
The main file in "All Social Share Options" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("all-social-share-options.php" instead of "all-in-one-social.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin6,069 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 4 | 19 | 2,218 |
Sass | 13 | 28 | 24 | 1,520 |
LESS | 13 | 28 | 34 | 1,510 |
SVG | 1 | 0 | 0 | 640 |
PHP | 3 | 30 | 38 | 161 |
JavaScript | 1 | 8 | 8 | 20 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.13MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 5.32KB | 3.28KB | ▼ 38.40% |
screenshot-4.png | 5.66KB | 3.39KB | ▼ 40.06% |
screenshot-1.png | 30.87KB | 15.22KB | ▼ 50.71% |
screenshot-3.png | 4.44KB | 2.97KB | ▼ 33.27% |
images/maria.png | 90.78KB | 32.66KB | ▼ 64.02% |