90% nelio-forms

Code Review | Nelio Forms

WordPress plugin Nelio Forms scored90%from 54 tests.

About plugin

  • Plugin page: nelio-forms
  • Plugin version: 1.0.23
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.9-6.3
  • WordPress version: 6.3.1
  • First release: Feb 25, 2022
  • Latest release: Jul 24, 2023
  • Number of updates: 34
  • Update frequency: every 15.2 days
  • Top authors: davilera (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

40+ active /1,774 total downloads

Benchmarks

Plugin footprint 83% from 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.68MB] [CPU: ▼5.80ms] Passed 4 tests

A check of server-side resources used by Nelio Forms
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /4.19 ▲0.7240.79 ▼1.84
Dashboard /wp-admin3.99 ▲0.6949.83 ▼3.30
Posts /wp-admin/edit.php4.04 ▲0.6846.99 ▼1.21
Add New Post /wp-admin/post-new.php6.89 ▲1.0087.66 ▼16.86
Media Library /wp-admin/upload.php3.84 ▲0.6139.13 ▲4.11
All Forms /wp-admin/edit.php?post_type=nelio_form3.9541.20
Add New /wp-admin/post-new.php?post_type=nelio_form6.8685.79

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 106 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
db_upgraded
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Nelio Forms
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,882 ▲13614.41 ▲0.091.75 ▼0.1740.26 ▼2.96
Dashboard /wp-admin2,261 ▲765.87 ▲0.05100.45 ▼4.5436.99 ▼6.07
Posts /wp-admin/edit.php2,141 ▲522.05 ▲0.0133.21 ▼9.4832.89 ▼3.94
Add New Post /wp-admin/post-new.php6,278 ▲4,75020.70 ▲2.48939.47 ▲320.1135.96 ▼17.23
Media Library /wp-admin/upload.php1,438 ▲504.22 ▼0.2097.35 ▼2.2441.05 ▼2.47
All Forms /wp-admin/edit.php?post_type=nelio_form1,1052.0133.5029.05
Add New /wp-admin/post-new.php?post_type=nelio_form6,23922.541,005.8735.10

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 97% 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: 11 tag instead of maximum 10
You can look at the official readme.txt

nelio-forms/nelio-forms.php Passed 13 tests

This is the main PHP file of "Nelio Forms" version 1.0.23, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
33 characters long description:
A plugin to create contact forms.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,777 lines of code in 103 files:
LanguageFilesBlank linesComment linesLines of code
PHP584025442,044
JSON900682
JavaScript200424
CSS150016
SVG10011

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces28
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions144
▷ Named functions12284.72%
▷ Anonymous functions2215.28%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin