84% pods-beaver-builder-themer-add-on

Code Review | Pods Beaver Themer Add-On

WordPress plugin Pods Beaver Themer Add-On scored84%from 54 tests.

About plugin

  • Plugin page: pods-beaver-build...
  • Plugin version: 1.3.7
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.7-6.1
  • WordPress version: 6.3.1
  • First release: Jun 9, 2017
  • Latest release: Aug 17, 2022
  • Number of updates: 28
  • Update frequency: every 68.4 days
  • Top authors: quasel (64.29%)sc0ttkclark (39.29%)

Code review

54 tests

User reviews

35 reviews

Install metrics

10,000+ active /81,173 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
Installer ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼8.21ms] Passed 4 tests

Analyzing server-side resources used by Pods Beaver Themer Add-On
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0541.52 ▼0.51
Dashboard /wp-admin3.36 ▲0.0148.36 ▼10.83
Posts /wp-admin/edit.php3.41 ▲0.0546.84 ▼2.89
Add New Post /wp-admin/post-new.php5.94 ▲0.0591.74 ▼16.98
Media Library /wp-admin/upload.php3.29 ▲0.0536.84 ▼2.13

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Pods Beaver Themer Add-On
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.23 ▼1.294.78 ▲3.1041.64 ▼4.32
Dashboard /wp-admin2,210 ▲225.88 ▼0.02108.40 ▲5.9442.34 ▲0.08
Posts /wp-admin/edit.php2,092 ▼02.01 ▲0.0139.39 ▲0.7236.06 ▼0.16
Add New Post /wp-admin/post-new.php1,552 ▲3823.43 ▲5.78660.60 ▼36.3955.83 ▼4.20
Media Library /wp-admin/upload.php1,392 ▲44.19 ▼0.01103.78 ▲6.7742.80 ▼5.30

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
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

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
The following issues need your attention
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/pods-beaver-builder-themer-add-on/pods-beaver-themer.php:35
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/pods-beaver-builder-themer-add-on/includes/pods-page-data.php:15

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

Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: beaver themer, beaver builder, pods

pods-beaver-builder-themer-add-on/pods-beaver-themer.php 92% from 13 tests

The main PHP script in "Pods Beaver Themer Add-On" version 1.3.7 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("pods-beaver-builder-themer-add-on.php" instead of "pods-beaver-themer.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin1,123 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP3293486929
XML169201113
Markdown222066
JavaScript16015

PHP code Passed 2 tests

Analyzing 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.44
Average class complexity94.00
▷ Minimum class complexity94.00
▷ Maximum class complexity94.00
Average method complexity5.89
▷ Minimum method complexity1.00
▷ Maximum method complexity44.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes1100.00%
Methods19
▷ Static methods19100.00%
▷ Public methods1894.74%
▷ Protected methods00.00%
▷ Private methods15.26%
Functions15
▷ Named functions15100.00%
▷ Anonymous functions00.00%
Constants4
▷ Global constants4100.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
PNG images were not found in this plugin