Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.36ms] Passed 4 tests
This is a short check of server-side resources used by Arengu Forms | Sign-up Forms, Login Forms, Passwordless Forms, Payment Forms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 45.02 ▲6.26 |
Dashboard /wp-admin | 3.32 ▼0.03 | 49.59 ▼11.82 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.37 ▼4.67 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 86.55 ▼26.12 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.72 ▲5.17 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 45 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
arengu_auth_private_key |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
arengu_auth_jwt_secret |
can_compress_scripts |
Browser metrics Passed 4 tests
Arengu Forms | Sign-up Forms, Login Forms, Passwordless Forms, Payment Forms: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.24 ▼0.31 | 1.86 ▲0.25 | 43.67 ▲3.12 |
Dashboard /wp-admin | 2,214 ▲33 | 5.59 ▼0.12 | 85.51 ▼16.24 | 78.24 ▲38.84 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 2.01 ▲0.05 | 37.44 ▲1.23 | 34.88 ▲0.63 |
Add New Post /wp-admin/post-new.php | 1,558 ▲21 | 22.99 ▲5.02 | 711.66 ▲60.26 | 64.19 ▲2.29 |
Media Library /wp-admin/upload.php | 1,434 ▲37 | 4.23 ▲0.11 | 102.01 ▼2.82 | 80.41 ▲36.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/arengu-forms/src/Config.php+71
Undefined index: private_key
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/arengu-forms/arengu-auth.php
- > /wp-content/plugins/arengu-forms/assets/friendly-error.tpl.php
- > /wp-content/plugins/arengu-forms/arengu-forms.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'ArenguAuth\\Route\\AbstractRoute' not found in wp-content/plugins/arengu-forms/src/Route/Jwt.php:8
- > PHP Fatal error
Uncaught Error: Class 'ArenguAuth\\Route\\AbstractRoute' not found in wp-content/plugins/arengu-forms/src/Route/Signup.php:5
- > PHP Fatal error
Uncaught Error: Class 'ArenguAuth\\Route\\AbstractRoute' not found in wp-content/plugins/arengu-forms/src/Route/Login.php:7
- > PHP Fatal error
Uncaught Error: Class 'ArenguAuth\\Config' not found in wp-content/plugins/arengu-forms/assets/admin-page.tpl.php:1
- > PHP Fatal error
Uncaught Error: Class 'ArenguAuth\\Route\\AbstractRoute' not found in wp-content/plugins/arengu-forms/src/Route/CheckEmail.php:5
- > PHP Fatal error
Uncaught Error: Class 'ArenguAuth\\Route\\Login' not found in wp-content/plugins/arengu-forms/src/Route/Passwordless.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (22 tag instead of maximum 10); only the first 5 tags are used in your directory listing
arengu-forms/arengu-auth.php 85% from 13 tests
The main PHP script in "Arengu Forms | Sign-up Forms, Login Forms, Passwordless Forms, Payment Forms" version 3.0.6 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("arengu-forms.php" instead of "arengu-auth.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin2,230 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 391 | 651 | 1,742 |
Markdown | 2 | 92 | 0 | 357 |
JSON | 3 | 0 | 0 | 122 |
XML | 1 | 1 | 0 | 8 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 12.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 3.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 1 | 5.26% |
▷ Concrete classes | 18 | 94.74% |
▷ Final classes | 0 | 0.00% |
Methods | 107 | |
▷ Static methods | 51 | 47.66% |
▷ Public methods | 80 | 74.77% |
▷ Protected methods | 12 | 11.21% |
▷ Private methods | 15 | 14.02% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.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