Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.62ms] Passed 4 tests
A check of server-side resources used by Social Sharing (by Danny)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.34 ▲1.01 |
Dashboard /wp-admin | 3.33 ▼0.01 | 41.57 ▼14.52 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 41.96 ▼6.58 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 89.72 ▼5.62 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.26 ▲0.26 |
Social Sharing /wp-admin/options-general.php?page=dvkss | 3.27 | 28.70 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 8 new options
New WordPress options |
---|
dvkss_code_version |
db_upgraded |
dvk_social_sharing |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Social Sharing (by Danny)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲49 | 14.24 ▼0.37 | 1.56 ▼0.17 | 35.35 ▼9.36 |
Dashboard /wp-admin | 2,199 ▲22 | 5.52 ▼0.11 | 81.06 ▼5.75 | 34.68 ▼7.19 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.11 ▲0.13 | 38.68 ▲2.75 | 34.66 ▼2.27 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.24 ▲0.16 | 581.85 ▼84.31 | 51.65 ▼14.20 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.29 ▲0.08 | 98.10 ▼3.20 | 41.33 ▼1.78 |
Social Sharing /wp-admin/options-general.php?page=dvkss | 1,124 | 2.17 | 30.56 | 40.47 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- dvkss_code_version
- dvk_social_sharing
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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 require attention:
- Screenshots: Please a description for screenshot #3 in dvk-social-sharing/assets to your readme.txt
dvk-social-sharing/index.php 92% from 13 tests
The primary PHP file in "Social Sharing (by Danny)" version 1.3.4 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("dvk-social-sharing.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin580 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 97 | 97 | 346 |
CSS | 4 | 24 | 0 | 104 |
Markdown | 1 | 61 | 0 | 83 |
JavaScript | 4 | 5 | 9 | 33 |
make | 1 | 4 | 0 | 10 |
SVG | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.93 |
▷ 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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
There were not PNG files found in your plugin