Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼294.44ms] Passed 4 tests
Server-side resources used by FLATsite Serverless Forms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 63.43 ▲8.94 |
Dashboard /wp-admin | 3.43 ▲0.02 | 36.87 ▼1.18 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 45.37 ▲5.81 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 97.74 ▼1,180.97 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 24.40 ▼1.41 |
FLATsite Serverless Forms /wp-admin/options-general.php?page=flatsite-forms | 3.27 | 27.89 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for FLATsite Serverless Forms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,774 ▲30 | 15.81 ▲0.04 | 6.59 ▲0.54 | 2.01 ▼0.38 |
Dashboard /wp-admin | 2,893 ▲32 | 6.17 ▼0.00 | 117.43 ▼18.51 | 158.06 ▼2.67 |
Posts /wp-admin/edit.php | 2,693 ▲5 | 3.23 ▼0.01 | 66.57 ▲2.32 | 145.85 ▲4.34 |
Add New Post /wp-admin/post-new.php | 1,693 ▲3 | 20.17 ▼0.71 | 410.22 ▼42.99 | 156.88 ▼0.33 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.55 ▲0.08 | 152.75 ▲9.24 | 201.88 ▲13.84 |
FLATsite Serverless Forms /wp-admin/options-general.php?page=flatsite-forms | 1,093 | 2.50 | 56.24 | 151.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% 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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flatsite-serverless-forms/src/lib/SettingsFlatsiteForms.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: serverless, decoupled wordpress, contact form, headless wordpress, forms...
flatsite-serverless-forms/flatsite-serverless-forms.php 92% from 13 tests
This is the main PHP file of "FLATsite Serverless Forms" version 1.1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected163 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 28 | 8 | 97 |
JavaScript | 1 | 12 | 2 | 66 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG images were found in this plugin