90% integration-for-beaver-themer

Code Review | Integration for Beaver Themer

WordPress plugin Integration for Beaver Themer scored90%from 54 tests.

About plugin

  • Plugin page: integration-for-b...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.2
  • WordPress version: 6.3.1
  • First release: Mar 24, 2021
  • Latest release: May 25, 2023
  • Number of updates: 7
  • Update frequency: every 113.1 days
  • Top authors: webmandesign (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /817 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: ▼2.00ms] Passed 4 tests

A check of server-side resources used by Integration for Beaver Themer
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0136.96 ▼3.71
Dashboard /wp-admin3.32 ▲0.0248.90 ▼2.17
Posts /wp-admin/edit.php3.37 ▲0.0156.93 ▲2.76
Add New Post /wp-admin/post-new.php5.90 ▲0.0182.88 ▼4.88
Media Library /wp-admin/upload.php3.24 ▲0.0141.66 ▲7.25

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
db_upgraded
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Integration for Beaver Themer
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5413.22 ▼1.151.65 ▼0.1841.22 ▼4.91
Dashboard /wp-admin2,224 ▲214.87 ▼0.01109.82 ▼1.4941.17 ▼1.11
Posts /wp-admin/edit.php2,103 ▼02.05 ▲0.0341.42 ▲0.9134.33 ▼1.81
Add New Post /wp-admin/post-new.php1,545 ▼423.21 ▲5.09611.32 ▼53.2354.90 ▼4.11
Media Library /wp-admin/upload.php1,400 ▲64.26 ▼0.03106.10 ▲5.7548.51 ▲5.83

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
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

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 Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: beaver themer, themes, webman design, beaver builder, webman

integration-for-beaver-themer/integration-for-beaver-themer.php Passed 13 tests

The primary PHP file in "Integration for Beaver Themer" version 1.0.0 is used by WordPress to initiate all plugin functionality
79 characters long description:
Provides support for Beaver Themer in WebMan Design accessibility ready themes.

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
Everything looks great! No dangerous files found in this plugin366 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP9179276305
PO File1121458
Markdown1203

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity3.25
▷ Minimum class complexity1.00
▷ Maximum class complexity5.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
Methods16
▷ Static methods16100.00%
▷ Public methods16100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin