78% builder-template-categories

Code Review | Builder Template Categories - for WordPress Page Builders

WordPress plugin Builder Template Categories - for WordPress Page Builders scored78%from 54 tests.

About plugin

  • Plugin page: builder-template-...
  • Plugin version: 1.7.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.3
  • WordPress version: 6.3.1
  • First release: Aug 19, 2018
  • Latest release: Nov 13, 2019
  • Number of updates: 35
  • Update frequency: every 12.9 days
  • Top authors: daveshine (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

1,000+ active /42,295 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.50MB] [CPU: ▼1.88ms] Passed 4 tests

Server-side resources used by Builder Template Categories - for WordPress Page Builders
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.86 ▲0.4047.24 ▲1.51
Dashboard /wp-admin3.88 ▲0.5754.55 ▲1.10
Posts /wp-admin/edit.php3.93 ▲0.5756.00 ▼1.04
Add New Post /wp-admin/post-new.php6.44 ▲0.54102.79 ▼9.08
Media Library /wp-admin/upload.php3.74 ▲0.5146.52 ▲9.44
Template Categories /wp-admin/edit-tags.php?taxonomy=builder-template-category&post_type=btc-custom-post-type3.7945.62
Block Categories /wp-admin/edit-tags.php?taxonomy=builder-template-category&post_type=wp_block3.8246.99
Add New /wp-admin/post-new.php?post_type=wp_block6.4391.63
Blocks /wp-admin/edit.php?post_type=wp_block3.8847.91

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 114 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_recent-posts
builder-template-category_children
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Builder Template Categories - for WordPress Page Builders
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,820 ▲5914.33 ▼0.301.85 ▲0.0845.81 ▲3.36
Dashboard /wp-admin2,220 ▲405.64 ▼0.0394.00 ▼5.9542.21 ▼2.65
Posts /wp-admin/edit.php2,131 ▲311.95 ▼0.0839.17 ▲2.7135.73 ▼1.14
Add New Post /wp-admin/post-new.php1,552 ▲2623.64 ▲0.22685.10 ▲14.8950.77 ▼4.79
Media Library /wp-admin/upload.php1,431 ▲374.07 ▼0.15113.63 ▲15.0346.86 ▲3.30
Template Categories /wp-admin/edit-tags.php?taxonomy=builder-template-category&post_type=btc-custom-post-type1,8652.1827.4840.88
Block Categories /wp-admin/edit-tags.php?taxonomy=builder-template-category&post_type=wp_block1,8702.1828.6136.56
Add New /wp-admin/post-new.php?post_type=wp_block6,35521.74920.8444.89
Blocks /wp-admin/edit.php?post_type=wp_block1,3546.4768.1933.17

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_recent-comments
    • widget_theysaidso_widget
    • builder-template-category_children
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
  • 8 occurences, only the last one shown
    • > GET request to /wp-admin/edit-tags.php?taxonomy=builder-template-category&post_type=btc-custom-post-type
    • > Notice in wp-admin/includes/class-wp-terms-list-table.php+584
    Trying to get property 'show_ui' of non-object

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 90× GET requests to PHP files return non-empty strings (only 10 are shown):
    • > /wp-content/plugins/builder-template-categories/includes/integrations/integration-happyforms.php
    • > /wp-content/plugins/builder-template-categories/includes/integrations/integration-dhwc-elementor.php
    • > /wp-content/plugins/builder-template-categories/includes/integrations/integration-wpshowposts.php
    • > /wp-content/plugins/builder-template-categories/includes/integrations/integration-woody-snippets.php
    • > /wp-content/plugins/builder-template-categories/includes/run-integrations.php
    • > /wp-content/plugins/builder-template-categories/includes/load-integrations.php
    • > /wp-content/plugins/builder-template-categories/includes/integrations/integration-avada-fusion-builder.php
    • > /wp-content/plugins/builder-template-categories/includes/integrations/integration-jetengine.php
    • > /wp-content/plugins/builder-template-categories/includes/integrations/integration-genesis-blox.php
    • > /wp-content/plugins/builder-template-categories/includes/integrations/elementor-finder.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
  • Tags: You are using too many tags: 12 tag instead of maximum 10
You can take inspiration from this readme.txt

builder-template-categories/builder-template-categories.php 92% from 13 tests

The entry point to "Builder Template Categories - for WordPress Page Builders" version 1.7.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 475 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected7,009 lines of code in 99 files:
LanguageFilesBlank linesComment linesLines of code
PHP912,4044,4044,502
PO File26107481,573
Markdown32920739
CSS25222173
JSON10022

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity23.00
▷ Minimum class complexity1.00
▷ Maximum class complexity45.00
Average method complexity3.10
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods21
▷ Static methods1885.71%
▷ Public methods21100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions280
▷ Named functions280100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
includes/admin/ddwlib-plir/deckerweb-plugins-logo.png15.80KB6.20KB▼ 60.78%