10% socialvoom-buzz-feed

Code Review | Socialvoom Buzz Feed

WordPress plugin Socialvoom Buzz Feed scored10%from 54 tests.

About plugin

  • Plugin page: socialvoom-buzz-feed
  • Plugin version: 1.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-3.5.1
  • WordPress version: 6.3.1
  • First release: Apr 13, 2013
  • Latest release: Apr 13, 2013
  • Number of updates: 7
  • Update frequency: every 0.1 days
  • Top authors: phatjay (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /733 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
  • This plugin did not install gracefully
    • > Parse error in wp-content/plugins/socialvoom-buzz-feed/buzzfeed.php+603
    syntax error, unexpected '}', expecting end of file

Server metrics [RAM: ▼0.01MB] [CPU: ▼10.38ms] Passed 4 tests

Analyzing server-side resources used by Socialvoom Buzz Feed
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0034.44 ▼6.63
Dashboard /wp-admin3.31 ▼0.0447.87 ▼20.66
Posts /wp-admin/edit.php3.36 ▲0.0048.92 ▼1.32
Add New Post /wp-admin/post-new.php5.89 ▲0.0089.19 ▼11.01
Media Library /wp-admin/upload.php3.23 ▲0.0034.39 ▼3.21

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Socialvoom Buzz Feed
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.56 ▼1.061.86 ▲0.1240.24 ▼4.26
Dashboard /wp-admin2,206 ▲154.87 ▼0.00109.90 ▼9.6044.91 ▼1.16
Posts /wp-admin/edit.php2,089 ▼02.01 ▲0.0138.78 ▲1.5436.33 ▲0.16
Add New Post /wp-admin/post-new.php1,530 ▲1623.40 ▲5.89682.26 ▼19.2450.79 ▼12.74
Media Library /wp-admin/upload.php1,388 ▲64.14 ▼0.1193.66 ▼5.9842.26 ▼1.71

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
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Parse error
      syntax error, unexpected '}', expecting end of file in wp-content/plugins/socialvoom-buzz-feed/buzzfeed.php on line 603

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
  • Donate link: Please fix this invalid url: ""
The official readme.txt is a good inspiration

socialvoom-buzz-feed/buzzfeed.php 85% from 13 tests

The main PHP file in "Socialvoom Buzz Feed" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 336 characters long)
  • Main file name: Name the main plugin file the same as the plugin slug ("socialvoom-buzz-feed.php" instead of "buzzfeed.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
Good job! No executable or dangerous file extensions detected357 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP17511357

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity11.00
▷ Minimum class complexity11.00
▷ Maximum class complexity11.00
Average method complexity2.67
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected