Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.48MB] [CPU: ▼5.95ms] Passed 4 tests
An overview of server-side resources used by VA Social Buzz
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.47 | 41.09 ▼2.68 |
Dashboard /wp-admin | 3.79 ▲0.48 | 51.83 ▼1.17 |
Posts /wp-admin/edit.php | 3.84 ▲0.48 | 48.94 ▲0.39 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.50 | 84.79 ▼20.34 |
Media Library /wp-admin/upload.php | 3.71 ▲0.48 | 39.10 ▲6.63 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for VA Social Buzz
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,061 ▲326 | 15.46 ▲1.43 | 54.67 ▲52.89 | 41.23 ▼10.33 |
Dashboard /wp-admin | 2,282 ▲94 | 5.01 ▼1.07 | 102.32 ▼0.08 | 43.24 ▼0.44 |
Posts /wp-admin/edit.php | 2,167 ▲78 | 2.31 ▲0.33 | 50.01 ▲11.22 | 37.73 ▲5.10 |
Add New Post /wp-admin/post-new.php | 1,548 ▲11 | 23.41 ▼0.08 | 649.43 ▲15.93 | 36.98 ▼19.35 |
Media Library /wp-admin/upload.php | 1,461 ▲76 | 4.44 ▲0.04 | 103.61 ▼1.64 | 42.35 ▼2.98 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: twitter, viral media, socialmedia, share, automatic...
va-social-buzz/functions.php 92% from 13 tests
The primary PHP file in "VA Social Buzz" version 1.1.14 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("va-social-buzz.php" instead of "functions.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,913 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 276 | 986 | 1,328 |
JavaScript | 5 | 49 | 125 | 236 |
CSS | 3 | 12 | 29 | 214 |
PO File | 1 | 40 | 40 | 121 |
SVG | 1 | 2 | 0 | 14 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 12.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 4 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 89 | |
▷ Static methods | 19 | 21.35% |
▷ Public methods | 53 | 59.55% |
▷ Protected methods | 32 | 35.96% |
▷ Private methods | 4 | 4.49% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected