90% boardea-storyboard-integration

Code Review | Boardea integration

WordPress plugin Boardea integration scored 90% from 54 tests.

About plugin

  • Plugin page: boardea-storyboar...
  • Plugin version: 1.7
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.0-5.0.1
  • WordPress version: 6.3.1
  • First release: Dec 19, 2018
  • Latest release: Dec 21, 2018
  • Number of updates: 21
  • Update frequency: every 14.4 days
  • Top authors: boardea (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 630 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

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

A check of server-side resources used by Boardea integration
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.48 ▼3.92
Dashboard /wp-admin3.31 ▲0.0146.23 ▼1.65
Posts /wp-admin/edit.php3.36 ▲0.0142.73 ▼3.98
Add New Post /wp-admin/post-new.php5.89 ▲0.0180.75 ▼11.19
Media Library /wp-admin/upload.php3.23 ▲0.0132.77 ▼3.90

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Boardea integration
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,807 ▲7213.15 ▼1.601.77 ▼0.1650.93 ▲5.91
Dashboard /wp-admin2,206 ▲185.05 ▲0.13113.29 ▲3.1443.98 ▼4.17
Posts /wp-admin/edit.php2,089 ▼02.04 ▲0.0635.65 ▼0.7132.98 ▼2.00
Add New Post /wp-admin/post-new.php1,526 ▼723.15 ▲0.03697.81 ▲10.5155.40 ▲4.12
Media Library /wp-admin/upload.php1,382 ▼64.20 ▼0.09104.50 ▼9.6049.29 ▲0.56

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: youtube, storyboard, video, boardea

boardea-storyboard-integration/boardea.php 92% from 13 tests

The entry point to "Boardea integration" version 1.7 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("boardea-storyboard-integration.php" instead of "boardea.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin399 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript24613216
CSS22125149
PHP1132134

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.08
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%
Functions5
▷ Named functions480.00%
▷ Anonymous functions120.00%
Constants1
▷ Global constants1100.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 images were found in this plugin