84% slingblocks

Code Review | SlingBlocks – Gutenberg Blocks by FunnelKit (Formerly WooFunnels)

WordPress plugin SlingBlocks – Gutenberg Blocks by FunnelKit (Formerly WooFunnels) scored84%from 54 tests.

About plugin

  • Plugin page: slingblocks
  • Plugin version: 1.3.0
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-6.4.1
  • WordPress version: 6.3.1
  • First release: Oct 29, 2021
  • Latest release: Nov 28, 2023
  • Number of updates: 23
  • Update frequency: every 33.1 days
  • Top authors: amans2k (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

1,000+ active /11,175 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 successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.74MB] [CPU: ▲2.24ms] Passed 4 tests

An overview of server-side resources used by SlingBlocks – Gutenberg Blocks by FunnelKit (Formerly WooFunnels)
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /4.25 ▲0.7945.85 ▲5.04
Dashboard /wp-admin4.04 ▲0.7449.08 ▼1.24
Posts /wp-admin/edit.php4.10 ▲0.7449.09 ▲4.29
Add New Post /wp-admin/post-new.php8.99 ▲3.11104.18 ▲8.64
Media Library /wp-admin/upload.php3.90 ▲0.6838.33 ▲0.86

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for SlingBlocks – Gutenberg Blocks by FunnelKit (Formerly WooFunnels)
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,790 ▲2814.27 ▼0.441.55 ▼0.5238.70 ▼3.57
Dashboard /wp-admin2,198 ▲175.64 ▼0.0799.67 ▲0.4443.37 ▲7.40
Posts /wp-admin/edit.php2,161 ▲612.08 ▲0.1139.31 ▲0.3037.41 ▼0.05
Add New Post /wp-admin/post-new.php6,397 ▲4,87130.27 ▲7.091,224.96 ▲554.7438.70 ▼10.87
Media Library /wp-admin/upload.php1,400 ▼04.19 ▼0.0395.67 ▼1.3141.91 ▲1.49

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 5× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/slingblocks/font/standard-fonts.php:79
    • > PHP Fatal error
      Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/slingblocks/font/gfonts-array.php:907
    • > PHP Fatal error
      Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/slingblocks/font/gfonts-names-array.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/slingblocks/templates/slb-template-canvas.php:11
    • > PHP Fatal error
      Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/slingblocks/templates/slb-template-boxed.php:11

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 errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: block editor, marketing, wordpress blocks, page builder, gutenberg...

slingblocks/slingblocks.php Passed 13 tests

The entry point to "SlingBlocks – Gutenberg Blocks by FunnelKit (Formerly WooFunnels)" version 1.3.0 is a PHP file that has certain tags in its header comment area
97 characters long description:
A minimalist Gutenberg Block Plugin that extends Gutenberg to provide page building capabilities.

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 plugin4,098 lines of code in 24 files:
LanguageFilesBlank linesComment linesLines of code
PHP166326864,047
JavaScript601627
CSS20024

PHP code Passed 2 tests

This is a short overview 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.38
Average class complexity149.00
▷ Minimum class complexity33.00
▷ Maximum class complexity338.00
Average method complexity9.83
▷ Minimum method complexity1.00
▷ Maximum method complexity81.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods101
▷ Static methods65.94%
▷ Public methods9695.05%
▷ Protected methods00.00%
▷ Private methods54.95%
Functions5
▷ Named functions360.00%
▷ Anonymous functions240.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin