84% bcc-everything

Code Review | BCC Everything

WordPress plugin BCC Everything scored84%from 54 tests.

About plugin

  • Plugin page: bcc-everything
  • Plugin version: 1.1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 2.2-4.0
  • WordPress version: 6.3.1
  • First release: Oct 3, 2014
  • Latest release: Oct 11, 2014
  • Number of updates: 7
  • Update frequency: every 1.1 days
  • Top authors: ffischer (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

500+ active /2,591 total downloads

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.01MB] [CPU: ▼4.53ms] Passed 4 tests

An overview of server-side resources used by BCC Everything
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0137.76 ▼10.88
Dashboard /wp-admin3.32 ▲0.0246.92 ▼1.82
Posts /wp-admin/edit.php3.37 ▲0.0148.22 ▲2.43
Add New Post /wp-admin/post-new.php5.90 ▲0.0184.37 ▼7.17
Media Library /wp-admin/upload.php3.25 ▲0.0136.90 ▲1.74

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for BCC Everything
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.72 ▼0.521.82 ▼0.1345.43 ▲0.02
Dashboard /wp-admin2,206 ▲154.87 ▼0.2199.30 ▼15.8438.47 ▼3.86
Posts /wp-admin/edit.php2,092 ▲62.09 ▲0.0737.76 ▲2.1532.73 ▼1.23
Add New Post /wp-admin/post-new.php1,514 ▼2017.63 ▼5.36676.34 ▲7.0661.48 ▼6.45
Media Library /wp-admin/upload.php1,391 ▼04.24 ▲0.0194.35 ▼9.9741.62 ▼2.62

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • 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
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bcc-everything/bcc-everything.php:16

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: email, wp_mail, mail, blind copy, bcc...

bcc-everything/bcc-everything.php Passed 13 tests

Analyzing the main PHP file in "BCC Everything" version 1.1.2
58 characters long description:
Blind copy (Bcc) outgoing emails to additional recipients.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin59 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1232759

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.09
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%
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected