Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.58ms] Passed 4 tests
An overview of server-side resources used by Tua Forma
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.71 ▼5.37 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.70 ▼2.23 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.61 ▼3.35 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.74 ▲0.04 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.53 ▼3.37 |
Tua Forma /wp-admin/options-general.php?page=tua-forma-settings | 3.22 | 29.36 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
tua-forma-successful-message |
widget_theysaidso_widget |
tua-forma-error-message |
widget_recent-comments |
theysaidso_admin_options |
tua-forma-honeypot |
tua-forma-smtp-recipients |
db_upgraded |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Tua Forma
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.16 ▼1.39 | 1.65 ▼0.05 | 44.01 ▲0.91 |
Dashboard /wp-admin | 2,210 ▲22 | 4.83 ▼0.05 | 109.91 ▼3.88 | 40.31 ▼3.76 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.05 ▲0.03 | 39.43 ▼2.77 | 34.47 ▼3.00 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 17.89 ▲0.36 | 619.31 ▼62.21 | 53.42 ▼5.26 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.20 ▼0.07 | 98.77 ▼0.33 | 45.56 ▲1.95 |
Tua Forma /wp-admin/options-general.php?page=tua-forma-settings | 827 | 2.16 | 23.53 | 26.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
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)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in tua-forma/assets to your readme.txt
tua-forma/tua-forma.php 85% from 13 tests
The entry point to "Tua Forma" version 1.1.3 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
- Requires at least: Required version does not match the one declared in readme.txt ("5.0.0" instead of "5.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected500 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 92 | 208 | 500 |
PHP code Passed 2 tests
A short 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.24 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 4 | 14.81% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin