100% ft-bb-schema

Code Review | Schema.org Settings for Beaver Builder

WordPress plugin Schema.org Settings for Beaver Builder scored 100% from 54 tests.

About plugin

  • Plugin page: ft-bb-schema
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3-4.7
  • WordPress version: 5.8.1
  • First release: Dec 13, 2016
  • Latest release: Dec 21, 2016
  • Number of updates: 3
  • Update frequency: every 1.7 days
  • Top authors: danielmilner (100%)

Code review

54 tests

User reviews

1 review

Install metrics

70+ active / 2,147 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

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

A check of server-side resources used by Schema.org Settings for Beaver Builder
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.1335.05 ▲11.72
Dashboard /wp-admin3.07 ▲0.0247.32 ▼2.52
Posts /wp-admin/edit.php3.13 ▲0.0244.37 ▼6.12
Add New Post /wp-admin/post-new.php5.44 ▲0.0197.92 ▼573.27
Media Library /wp-admin/upload.php3.02 ▲0.0133.87 ▼8.02

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Schema.org Settings for Beaver Builder
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲10715.94 ▲0.4211.35 ▲0.7845.52 ▼5.06
Dashboard /wp-admin2,989 ▲565.99 ▲0.04145.76 ▼6.99106.24 ▼6.58
Posts /wp-admin/edit.php2,739 ▲32.71 ▼0.0070.04 ▲5.7680.35 ▼6.63
Add New Post /wp-admin/post-new.php1,591 ▼318.77 ▼0.05398.39 ▼6.37109.00 ▲2.72
Media Library /wp-admin/upload.php1,810 ▲35.01 ▼0.02157.76 ▲11.57108.59 ▼11.97

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: schema, beaver builder, page builder

ft-bb-schema/ft-bb-schema.php Passed 13 tests

The main file in "Schema.org Settings for Beaver Builder" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
62 characters long description:
Allows you to identify structured data in Beaver Builder rows.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected75 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1276575

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.50
Average class complexity10.00
▷ Minimum class complexity10.00
▷ Maximum class complexity10.00
Average method complexity2.80
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes1100.00%
Methods5
▷ Static methods5100.00%
▷ Public methods480.00%
▷ Protected methods00.00%
▷ Private methods120.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.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
There are no PNG files in this plugin