84% meta-box-beaver-themer-integrator

Code Review | Meta Box - Beaver Themer Integrator

WordPress plugin Meta Box - Beaver Themer Integrator scored84%from 54 tests.

About plugin

  • Plugin page: meta-box-beaver-t...
  • Plugin version: 2.1.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.9-6.2
  • WordPress version: 6.3.1
  • First release: May 29, 2018
  • Latest release: Apr 3, 2023
  • Number of updates: 28
  • Update frequency: every 63.3 days
  • Top authors: rilwis (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /6,777 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

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

This is a short check of server-side resources used by Meta Box - Beaver Themer Integrator
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0236.93 ▼0.73
Dashboard /wp-admin3.32 ▼0.0247.13 ▼11.68
Posts /wp-admin/edit.php3.43 ▲0.0845.89 ▼0.38
Add New Post /wp-admin/post-new.php5.90 ▲0.0279.42 ▼11.69
Media Library /wp-admin/upload.php3.24 ▲0.0235.41 ▼1.75

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Meta Box - Beaver Themer Integrator
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.39 ▲0.031.73 ▲0.1744.57 ▼0.38
Dashboard /wp-admin2,198 ▲185.62 ▼0.0698.17 ▲11.7843.94 ▲2.21
Posts /wp-admin/edit.php2,100 ▼01.98 ▼0.0134.82 ▼1.3733.76 ▼1.49
Add New Post /wp-admin/post-new.php1,526 ▼022.98 ▼0.25591.99 ▼72.3452.69 ▼5.25
Media Library /wp-admin/upload.php1,403 ▲34.28 ▲0.0495.23 ▼17.9841.54 ▼5.26

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 5× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Class 'MBBTI\\Base' not found in wp-content/plugins/meta-box-beaver-themer-integrator/src/Posts.php:14
    • > PHP Fatal error
      Uncaught Error: Class 'MBBTI\\Base' not found in wp-content/plugins/meta-box-beaver-themer-integrator/src/Users.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'MBBTI\\Base' not found in wp-content/plugins/meta-box-beaver-themer-integrator/src/Settings.php:14
    • > PHP Fatal error
      Uncaught Error: Class 'MBBTI\\Base' not found in wp-content/plugins/meta-box-beaver-themer-integrator/src/Authors.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'MBBTI\\Base' not found in wp-content/plugins/meta-box-beaver-themer-integrator/src/Terms.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

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
8 plugin tags: beaver builder, meta box, beaver themer, custom fields, custom field...

meta-box-beaver-themer-integrator/meta-box-beaver-themer-integrator.php 92% from 13 tests

"Meta Box - Beaver Themer Integrator" version 2.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Domain Path: The domain path folder was not found ("/languages")

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
There were no executable files found in this plugin1,282 lines of code in 19 files:
LanguageFilesBlank linesComment linesLines of code
PHP172435891,221
JavaScript10056
JSON1005

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.50
Average class complexity18.64
▷ Minimum class complexity1.00
▷ Maximum class complexity72.00
Average method complexity3.48
▷ Minimum method complexity1.00
▷ Maximum method complexity31.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes11
▷ Abstract classes19.09%
▷ Concrete classes1090.91%
▷ Final classes00.00%
Methods80
▷ Static methods1923.75%
▷ Public methods6986.25%
▷ Protected methods56.25%
▷ Private methods67.50%
Functions3
▷ Named functions00.00%
▷ Anonymous functions3100.00%
Constants0
▷ Global constants00.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 images were found in this plugin