Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▲0.61ms] Passed 4 tests
Analyzing server-side resources used by Tao Form Ajax
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.46 ▼3.19 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.82 ▼1.76 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 49.04 ▲1.68 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 90.84 ▲5.71 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.41 ▲5.71 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 9 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_tao_form |
New WordPress options |
---|
widget_theysaidso_widget |
widget_tao_form |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Tao Form Ajax
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,900 ▲165 | 13.69 ▼0.69 | 5.27 ▲3.59 | 43.56 ▼2.85 |
Dashboard /wp-admin | 2,222 ▲30 | 5.89 ▲0.99 | 111.65 ▲1.90 | 41.25 ▲1.50 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.02 ▲0.06 | 41.38 ▲7.09 | 34.70 ▲1.65 |
Add New Post /wp-admin/post-new.php | 1,560 ▲18 | 18.48 ▲0.03 | 587.64 ▼93.07 | 57.71 ▲4.85 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.23 ▲0.04 | 94.37 ▼2.93 | 40.35 ▼2.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_tao_form
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/tao-form-ajax/html/form-cadastro.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tao-form-ajax/html/form-export.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/tao-form-ajax/tao-form-ajax.php:122
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Exportar Contatos.), #2 (Widget Newsletter.)
tao-form-ajax/tao-form-ajax.php Passed 13 tests
This is the main PHP file of "Tao Form Ajax" version 1.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
24 characters long description:
Tao Form Ajax BinDigital
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin211 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 53 | 27 | 161 |
JavaScript | 1 | 4 | 2 | 50 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 8 | 80.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.16MB with 0.10MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
1.png | 30.55KB | 11.59KB | ▼ 62.05% |
2.png | 134.25KB | 48.64KB | ▼ 63.77% |