89% forms-management-system-views-builder

Code Review | Forms Management System Views Builder

WordPress plugin Forms Management System Views Builder scored89%from 54 tests.

About plugin

  • Plugin page: forms-management-...
  • Plugin version: 1.2.0.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.7.5
  • WordPress version: 6.3.1
  • First release: May 16, 2015
  • Latest release: Jun 6, 2017
  • Number of updates: 12
  • Update frequency: every 62.7 days
  • Top authors: Engr.MTH (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,279 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.18MB] [CPU: ▼4.99ms] Passed 4 tests

This is a short check of server-side resources used by Forms Management System Views Builder
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.66 ▲0.1946.00 ▲6.08
Dashboard /wp-admin3.49 ▲0.1851.11 ▲0.21
Posts /wp-admin/edit.php3.60 ▲0.2448.83 ▼9.96
Add New Post /wp-admin/post-new.php6.07 ▲0.1888.75 ▼13.37
Media Library /wp-admin/upload.php3.41 ▲0.1839.52 ▲3.17
Views Settings /wp-admin/admin.php?page=fvb_settings3.3836.66
Views /wp-admin/edit.php?post_type=fvb_views3.4540.14

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Forms Management System Views Builder
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,828 ▲6714.35 ▲0.012.15 ▲0.2545.65 ▼0.37
Dashboard /wp-admin2,209 ▲385.61 ▲0.0391.63 ▼13.1246.17 ▼9.43
Posts /wp-admin/edit.php2,112 ▲122.01 ▲0.0337.47 ▼5.4838.44 ▲2.87
Add New Post /wp-admin/post-new.php1,540 ▲1423.02 ▼0.61694.52 ▲16.9053.23 ▼2.36
Media Library /wp-admin/upload.php1,408 ▲84.19 ▲0.0297.52 ▼9.9441.42 ▼6.85
Views Settings /wp-admin/admin.php?page=fvb_settings9092.0429.7067.51
Views /wp-admin/edit.php?post_type=fvb_views1,0751.9832.0131.88

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget

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
Even though everything seems fine, this is not an exhaustive test

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: custom fields, visual builder, form, mostasharoon, custom post type...

forms-management-system-views-builder/fms-views-builder.php 85% from 13 tests

"Forms Management System Views Builder" version 1.2.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("forms-management-system-views-builder.php" instead of "fms-views-builder.php")
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin7,944 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
CSS51,421165,883
PHP617191876
JavaScript42147869
SVG100229
PO File1313387

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity28.00
▷ Minimum class complexity19.00
▷ Maximum class complexity39.00
Average method complexity4.12
▷ Minimum method complexity1.00
▷ Maximum method complexity17.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods26
▷ Static methods00.00%
▷ Public methods26100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/error.png0.70KB0.74KB0.00%
images/mdm-cross-hair.png0.21KB0.24KB0.00%