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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.80ms] Passed 4 tests
An overview of server-side resources used by SimpleSocial
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.57 ▼3.40 |
Dashboard /wp-admin | 3.34 ▲0.04 | 50.20 ▼2.77 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 52.38 ▲3.68 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 85.28 ▼12.70 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 43.45 ▲9.76 |
SimpleSocial /wp-admin/options-general.php?page=simplesocial | 3.47 | 34.89 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by SimpleSocial
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 13.15 ▼1.11 | 1.63 ▼0.13 | 42.24 ▼4.61 |
Dashboard /wp-admin | 2,219 ▲28 | 5.83 ▲0.99 | 99.90 ▼8.22 | 46.96 ▲8.82 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.05 ▲0.03 | 40.18 ▲2.68 | 43.90 ▲10.39 |
Add New Post /wp-admin/post-new.php | 1,529 ▼13 | 17.50 ▼0.71 | 637.07 ▼9.08 | 54.52 ▼9.72 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.29 ▲0.00 | 99.23 ▼10.58 | 43.94 ▲0.47 |
SimpleSocial /wp-admin/options-general.php?page=simplesocial | 4,380 | 2.00 | 27.58 | 38.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: twitter, social media icons, facebook, pinterest, instagram...
simplesocial/social.php 85% from 13 tests
"SimpleSocial" version 2022...'s main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of "2022...")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simplesocial.php" instead of "social.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin1,934 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 15 | 13 | 1,894 |
CSS | 1 | 8 | 0 | 33 |
SVG | 6 | 0 | 0 | 6 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 10 | |
▷ Named functions | 10 | 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
PNG images were not found in this plugin