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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.78ms] Passed 4 tests
This is a short check of server-side resources used by Simple Share
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.43 ▼1.36 |
Dashboard /wp-admin | 3.36 ▲0.01 | 50.60 ▼11.58 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.16 ▼2.93 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 86.22 ▼19.25 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.86 ▲2.14 |
Simple Share /wp-admin/options-general.php?page=dts-simple-share | 3.28 | 34.44 |
Server storage [IO: ▲1.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Simple Share: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,886 ▲125 | 13.46 ▼0.90 | 8.35 ▲6.45 | 38.72 ▼5.46 |
Dashboard /wp-admin | 2,207 ▲33 | 5.64 ▲0.06 | 90.32 ▼8.23 | 37.85 ▼7.05 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.20 ▲0.18 | 37.02 ▲0.99 | 31.43 ▼9.10 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.42 ▲0.41 | 685.17 ▼20.57 | 56.44 ▼0.86 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.19 ▲0.04 | 96.58 ▼10.57 | 43.23 ▼2.24 |
Simple Share /wp-admin/options-general.php?page=dts-simple-share | 1,138 | 2.10 | 32.09 | 45.48 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3 in dts-simple-share/assets to your readme.txt
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
dts-simple-share/dts-simple-share.php Passed 13 tests
"Simple Share" version 0.5.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
138 characters long description:
Simple social media and email sharebar. Specify platforms and location, or use shortcode [dts_sharebar] wherever you want them to show up!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin4,505 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 4 | 3,531 |
PHP | 8 | 305 | 217 | 616 |
CSS | 3 | 55 | 34 | 242 |
JavaScript | 2 | 38 | 4 | 116 |
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 | 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 | 37 | |
▷ Named functions | 26 | 70.27% |
▷ Anonymous functions | 11 | 29.73% |
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
No PNG images were found in this plugin