Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.88MB] [CPU: ▼309.82ms] 75% from 4 tests
Server-side resources used by 1app Business Forms
Please take the time to fix the following items
- CPU: Try to keep total CPU usage under 500.00ms (currently 710.46ms on /wp-admin/edit.php?post_type=1app_form&page=overview)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.08 | 55.81 ▲6.38 |
Dashboard /wp-admin | 3.46 ▲0.06 | 33.90 ▲0.86 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 38.45 ▲1.13 |
Add New Post /wp-admin/post-new.php | 3.27 ▼3.70 | 29.99 ▼1,238.65 |
Media Library /wp-admin/upload.php | 3.35 ▲0.05 | 24.19 ▼2.62 |
All Forms /wp-admin/edit.php?post_type=1app_form | 3.39 | 27.85 |
Transactions /wp-admin/edit.php?post_type=1app_form&page=transactions | 3.33 | 744.87 |
Add New /wp-admin/post-new.php?post_type=1app_form | 3.27 | 26.31 |
Overview /wp-admin/edit.php?post_type=1app_form&page=overview | 3.33 | 710.46 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: 1 new table, no new options
New tables |
---|
wp_oneapp_forms_payments |
Browser metrics Passed 4 tests
1app Business Forms: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,858 ▲114 | 16.14 ▲0.49 | 7.13 ▲1.57 | 2.50 ▲0.10 |
Dashboard /wp-admin | 2,945 ▲87 | 6.12 ▼0.05 | 119.21 ▼15.17 | 181.09 ▲25.34 |
Posts /wp-admin/edit.php | 2,745 ▲57 | 3.12 ▼0.12 | 67.78 ▲4.59 | 140.03 ▼2.12 |
Add New Post /wp-admin/post-new.php | 1,696 ▲28 | 16.60 ▼1.53 | 412.09 ▼3.47 | 184.24 ▲27.66 |
Media Library /wp-admin/upload.php | 1,748 ▲53 | 5.55 ▲0.03 | 122.68 ▼23.45 | 197.31 ▲7.98 |
Settings /wp-admin/1app-page.php | 26 | 0.94 | 0.03 | 20.13 |
All Forms /wp-admin/edit.php?post_type=1app_form | 1,444 | 3.16 | 66.36 | 123.33 |
Transactions /wp-admin/edit.php?post_type=1app_form&page=transactions | 1,083 | 2.41 | 53.20 | 102.36 |
Add New /wp-admin/post-new.php?post_type=1app_form | 1,973 | 4.10 | 76.21 | 148.05 |
Overview /wp-admin/edit.php?post_type=1app_form&page=overview | 1,778 | 11.24 | 245.75 | 156.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=1app_form
- > Notice in wp-content/plugins/1app-business-forms/1app-page.php+648
Undefined index: eventmeta_noncename
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 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/1app-page.php
- > Network (severe)
wp-admin/1app-page.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (The screenshot-1 is the Settings page where you connect to or disconnect from your 1app business account.) image missing
1app-business-forms/1app-page.php 92% from 13 tests
The principal PHP file in "1app Business Forms" v. 1.0.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("1app-business-forms.php" instead of "1app-page.php")
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
There were no executable files found in this plugin1,239 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 353 | 136 | 1,182 |
CSS | 1 | 6 | 0 | 53 |
JavaScript | 1 | 1 | 0 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 9.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 76.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 23.53% |
Functions | 35 | |
▷ Named functions | 35 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
1app.png | 2.33KB | 0.81KB | ▼ 65.09% |