90% va-social-buzz

Code Review | VA Social Buzz

WordPress plugin VA Social Buzz scored90%from 54 tests.

About plugin

  • Plugin page: va-social-buzz
  • Plugin version: 1.1.14
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-4.8
  • WordPress version: 6.3.1
  • First release: Dec 29, 2015
  • Latest release: Jul 3, 2017
  • Number of updates: 48
  • Update frequency: every 11.5 days
  • Top authors: kuck1u (100%)

Code review

54 tests

User reviews

1 review

Install metrics

2,000+ active /23,930 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /3.93 ▲0.4741.09 ▼2.68
Dashboard /wp-admin3.79 ▲0.4851.83 ▼1.17
Posts /wp-admin/edit.php3.84 ▲0.4848.94 ▲0.39
Add New Post /wp-admin/post-new.php6.39 ▲0.5084.79 ▼20.34
Media Library /wp-admin/upload.php3.71 ▲0.4839.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,061 ▲32615.46 ▲1.4354.67 ▲52.8941.23 ▼10.33
Dashboard /wp-admin2,282 ▲945.01 ▼1.07102.32 ▼0.0843.24 ▼0.44
Posts /wp-admin/edit.php2,167 ▲782.31 ▲0.3350.01 ▲11.2237.73 ▲5.10
Add New Post /wp-admin/post-new.php1,548 ▲1123.41 ▼0.08649.43 ▲15.9336.98 ▼19.35
Media Library /wp-admin/upload.php1,461 ▲764.44 ▲0.04103.61 ▼1.6442.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:
LanguageFilesBlank linesComment linesLines of code
PHP182769861,328
JavaScript549125236
CSS31229214
PO File14040121
SVG12014

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 code0.33
Average class complexity12.54
▷ Minimum class complexity1.00
▷ Maximum class complexity41.00
Average method complexity2.69
▷ Minimum method complexity1.00
▷ Maximum method complexity16.00
Code structure
Namespaces1
Interfaces0
Traits4
Classes9
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes00.00%
Methods89
▷ Static methods1921.35%
▷ Public methods5359.55%
▷ Protected methods3235.96%
▷ Private methods44.49%
Functions4
▷ Named functions125.00%
▷ Anonymous functions375.00%
Constants10
▷ Global constants10100.00%
▷ Class constants00.00%
▷ Public constants00.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