78% nimble-builder

Code Review | Nimble Page Builder

WordPress plugin Nimble Page Builder scored78%from 54 tests.

About plugin

  • Plugin page: nimble-builder
  • Plugin version: 3.3.4
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.3
  • WordPress version: 6.3.1
  • First release: Jun 7, 2018
  • Latest release: Aug 29, 2023
  • Number of updates: 266
  • Update frequency: every 7.2 days
  • Top authors: nikeo (100%)

Code review

54 tests

User reviews

111 reviews

Install metrics

40,000+ active /2,819,796 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

Server metrics [RAM: ▲4.62MB] [CPU: ▲27.15ms] Passed 4 tests

Analyzing server-side resources used by Nimble Page Builder
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /7.97 ▲4.5091.53 ▲47.30
Dashboard /wp-admin7.97 ▲4.6681.86 ▲31.10
Posts /wp-admin/edit.php8.02 ▲4.6670.26 ▲20.97
Add New Post /wp-admin/post-new.php10.55 ▲4.66116.20 ▲25.33
Media Library /wp-admin/upload.php7.88 ▲4.6564.27 ▲31.18
System info /wp-admin/plugins.php?page=nimble-builder7.6754.99
Nimble Builder /wp-admin/options-general.php?page=nb-options7.8554.88

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 714 new files
Database: no new tables, 10 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
nimble_version
widget_recent-posts
nimble_started_with_version
db_upgraded
can_compress_scripts
nimble_start_date
nb_backward_fixes

Browser metrics Passed 4 tests

An overview of browser requirements for Nimble Page Builder
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,434 ▲68814.00 ▼0.415.52 ▲3.6420.89 ▼26.39
Dashboard /wp-admin2,722 ▲5315.90 ▼0.13101.72 ▼12.92109.01 ▲61.05
Posts /wp-admin/edit.php2,431 ▲3452.17 ▲0.1735.94 ▲0.9649.36 ▲14.76
Add New Post /wp-admin/post-new.php1,743 ▲22917.91 ▲0.36715.35 ▲10.7760.99 ▼0.88
Media Library /wp-admin/upload.php1,797 ▲4154.22 ▲0.0198.29 ▼3.4289.02 ▲45.36
System info /wp-admin/plugins.php?page=nimble-builder1,0122.0126.6837.18
Nimble Builder /wp-admin/options-general.php?page=nb-options1,6536.2545.0859.25

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
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 10 options
    • nimble_started_with_version
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • nb_backward_fixes
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • nimble_start_date
    • nimble_version

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

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

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 items
  • 63× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nimble-builder/inc/sektions/_customizer_dev_php/8_6_0_sektions_customizer_ajax_save_template.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/nimble-builder/inc/sektions/_front_dev_php/module_registration/front/4_0_7_sek_register_image.php:295
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/nimble-builder/inc/sektions/_front_dev_php/dyn_css_builder_and_google_fonts_printer/5_0_3_add_rules_for_generic_input_types.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/nimble-builder/inc/sektions/_front_dev_php/module_registration/ui/_1_level/4_0_3_sek_register_height.php:73
    • > PHP Fatal error
      Uncaught Error: Class 'Flat_Skop_Base' not found in wp-content/plugins/nimble-builder/inc/czr-skope/_dev/1_0_0_skop_customizer_register_and_load_control_assets.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/nimble-builder/inc/sektions/_front_dev_php/module_registration/ui/_1_level/4_0_2_sek_register_background.php:194
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/nimble-builder/inc/sektions/_front_dev_php/module_registration/ui/_1_level/4_0_8_sek_register_breakpoint.php:64
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_post_type() in wp-content/plugins/nimble-builder/inc/sektions/_front_dev_php/_constants_and_helper_functions/0_9_1_sektions_functions_save_sections.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/nimble-builder/inc/sektions/_front_dev_php/module_registration/ui/_1_level/4_0_5_sek_register_width_section.php:89
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/nimble-builder/inc/sektions/_front_dev_php/module_registration/front/4_1_3_sek_register_icon.php:262

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
    • > GET request to /wp-admin/options-general.php?page=nb-options
    • > Other (warning) in unknown
    /wp-admin/options-general.php?page=nb-options 165 Allow attribute will take precedence over 'allowfullscreen'.

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
10 plugin tags: post grid, drag and drop, customizer, page builder, header...

nimble-builder/nimble-builder.php 92% from 13 tests

The entry point to "Nimble Page Builder" version 3.3.4 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 154 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin184,629 lines of code in 614 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript27014,94322,65872,828
PHP1648,07515,79249,537
CSS745,8401,86827,617
JSON312021,179
SVG37059,872
Sass664391,0413,596

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.62
Average class complexity36.97
▷ Minimum class complexity1.00
▷ Maximum class complexity262.00
Average method complexity6.22
▷ Minimum method complexity1.00
▷ Maximum method complexity53.00
Code structure
Namespaces1
Interfaces2
Traits0
Classes73
▷ Abstract classes22.74%
▷ Concrete classes7197.26%
▷ Final classes811.27%
Methods532
▷ Static methods5410.15%
▷ Public methods47689.47%
▷ Protected methods00.00%
▷ Private methods5610.53%
Functions963
▷ Named functions91394.81%
▷ Anonymous functions505.19%
Constants107
▷ Global constants9992.52%
▷ Class constants87.48%
▷ Public constants8100.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
21 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/czr/fmk/css/img/grey@2x.png3.14KB2.77KB▼ 11.72%
inc/czr-base-fmk/assets/css/img/grey@2x.png3.14KB2.77KB▼ 11.72%
assets/front/css/libs/swipebox-img/icons.png0.71KB0.43KB▼ 39.64%
assets/admin/img/nb_sec_pholder.png0.82KB0.73KB▼ 10.54%
inc/czr-base-fmk/assets/img/slide-placeholder.png1.26KB0.33KB▼ 73.70%