84% masterbip-for-elementor

Code Review | MasterBip para Elementor

WordPress plugin MasterBip para Elementor scored84%from 54 tests.

About plugin

  • Plugin page: masterbip-for-ele...
  • Plugin version: 1.6.2
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.5
  • WordPress version: 6.3.1
  • First release: Nov 6, 2019
  • Latest release: Nov 17, 2023
  • Number of updates: 50
  • Update frequency: every 29.7 days
  • Top authors: masterbip (100%)

Code review

54 tests

User reviews

1 review

Install metrics

70+ active /1,696 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.02MB] [CPU: ▼3.73ms] Passed 4 tests

Analyzing server-side resources used by MasterBip para Elementor
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0234.82 ▼5.73
Dashboard /wp-admin3.32 ▲0.0244.74 ▼4.66
Posts /wp-admin/edit.php3.37 ▲0.0148.02 ▲2.53
Add New Post /wp-admin/post-new.php5.90 ▲0.0189.11 ▼5.02
Media Library /wp-admin/upload.php3.24 ▲0.0132.10 ▲0.49

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by MasterBip para Elementor
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,832 ▲9614.35 ▼0.361.83 ▲0.0740.64 ▼3.67
Dashboard /wp-admin2,206 ▲315.63 ▼0.1297.10 ▼24.8343.32 ▼2.35
Posts /wp-admin/edit.php2,120 ▲201.98 ▼0.0242.24 ▲4.9036.84 ▲2.01
Add New Post /wp-admin/post-new.php1,538 ▲1023.18 ▲0.07582.12 ▼110.8554.55 ▼10.91
Media Library /wp-admin/upload.php1,417 ▲174.16 ▼0.0599.47 ▲1.0343.35 ▲0.32

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

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 take a closer look at the following
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function Elementor\\add_action() in wp-content/plugins/masterbip-for-elementor/category.php:13
    • > PHP Fatal error
      Uncaught Error: Call to undefined function ElementorMbElementor\\add_action() in wp-content/plugins/masterbip-for-elementor/plugin.php:57

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 issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 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
Please fix the following attributes:
  • Tags: Please delete some tags, you are using 15 tag instead of maximum 10
You can look at the official readme.txt

masterbip-for-elementor/masterbip-for-elementor.php 92% from 13 tests

The main PHP script in "MasterBip para Elementor" version 1.6.2 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

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
No dangerous file extensions were detected2,765 lines of code in 23 files:
LanguageFilesBlank linesComment linesLines of code
PHP202392612,428
CSS11612258
Markdown124057
JavaScript11422

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.14
Average class complexity4.18
▷ Minimum class complexity1.00
▷ Maximum class complexity8.00
Average method complexity1.42
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes17
▷ Abstract classes00.00%
▷ Concrete classes17100.00%
▷ Final classes15.88%
Methods130
▷ Static methods10.77%
▷ Public methods8464.62%
▷ Protected methods4534.62%
▷ Private methods10.77%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin