10% shootitlive

Code Review | Shootitlive

WordPress plugin Shootitlive scored 10% from 54 tests.

About plugin

  • Plugin page: shootitlive
  • Plugin version: 1.6
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.1.1
  • WordPress version: 6.3.1
  • First release: Nov 12, 2014
  • Latest release: Mar 18, 2019
  • Number of updates: 26
  • Update frequency: every 61.0 days
  • Top authors: marlev (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 797 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Parse error in wp-content/plugins/shootitlive/shootitlive.php+739
    syntax error, unexpected end of file

Server metrics [RAM: ▲0.00MB] [CPU: ▼3.90ms] Passed 4 tests

Server-side resources used by Shootitlive
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0037.62 ▼7.60
Dashboard /wp-admin3.31 ▲0.0048.80 ▲0.79
Posts /wp-admin/edit.php3.36 ▲0.0044.29 ▼3.21
Add New Post /wp-admin/post-new.php5.89 ▲0.0087.23 ▼5.58
Media Library /wp-admin/upload.php3.23 ▲0.0038.34 ▲3.73

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
theysaidso_admin_options
widget_recent-posts
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for Shootitlive
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.26 ▼1.391.75 ▼0.9341.39 ▼9.83
Dashboard /wp-admin2,203 ▲125.83 ▼0.0697.94 ▼1.1241.42 ▼4.71
Posts /wp-admin/edit.php2,089 ▼01.99 ▲0.0033.78 ▼0.6032.27 ▼2.18
Add New Post /wp-admin/post-new.php1,533 ▼123.36 ▲0.07640.14 ▼45.3351.67 ▼6.33
Media Library /wp-admin/upload.php1,382 ▲34.29 ▲0.10106.63 ▲0.4146.97 ▼0.00

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

Smoke tests 75% from 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 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Parse error
      syntax error, unexpected end of file in wp-content/plugins/shootitlive/shootitlive.php on line 739

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
  • Contributors: Plugin contributors field is missing
Please take inspiration from this readme.txt

shootitlive/shootitlive.php Passed 13 tests

The principal PHP file in "Shootitlive" v. 1.6 is loaded by WordPress automatically on each request
52 characters long description:
Plugin for embedding live feeds from Shootitlive.com

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected516 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP113687516

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.55
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin