Benchmarks
Plugin footprint 65% 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 gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.04ms] Passed 4 tests
Server-side resources used by phone2app : formulario de contacto y llamadas
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.27 ▼0.48 |
Dashboard /wp-admin | 3.33 ▼0.02 | 48.76 ▼16.15 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.79 ▼1.78 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 96.07 ▼1.74 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.99 ▲4.72 |
Server storage [IO: ▲2.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 38 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_phone2app_form |
wp_phone2app_user |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for phone2app : formulario de contacto y llamadas
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲92 | 14.74 ▲0.37 | 2.36 ▲0.62 | 44.93 ▼0.95 |
Dashboard /wp-admin | 2,202 ▲14 | 5.82 ▼0.09 | 113.17 ▼7.49 | 84.45 ▲38.38 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 1.99 ▼0.02 | 35.12 ▼1.45 | 33.20 ▼3.25 |
Add New Post /wp-admin/post-new.php | 1,687 ▲168 | 24.13 ▲1.08 | 715.12 ▲69.75 | 69.31 ▲18.83 |
Media Library /wp-admin/upload.php | 1,396 ▲5 | 4.18 ▲0.00 | 111.88 ▲16.51 | 50.03 ▲9.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_phone2app_form
- wp_phone2app_user
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/phone2app/DAO/index.php
- > /wp-content/plugins/phone2app/phone2app.php
- > /wp-content/plugins/phone2app/phone2appUserService.php
- > /wp-content/plugins/phone2app/DTO/index.php
- > /wp-content/plugins/phone2app/phone2appFormService.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Please describe screenshot #300 in phone2app/assets to your readme.txt
- Tags: You are using too many tags: 11 tag instead of maximum 10
phone2app/phone2app.php 92% from 13 tests
The primary PHP file in "phone2app : formulario de contacto y llamadas" version 1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 370 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin15,298 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 2,547 | 15,154 | 11,713 |
CSS | 6 | 57 | 15 | 2,462 |
SVG | 1 | 0 | 0 | 655 |
PHP | 10 | 50 | 165 | 335 |
HTML | 1 | 24 | 24 | 133 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/logo.png | 9.04KB | 2.88KB | ▼ 68.10% |
admin/img/icon.png | 0.60KB | 0.76KB | 0.00% |
img/logo.png | 9.04KB | 2.88KB | ▼ 68.10% |
img/icon.png | 0.60KB | 0.76KB | 0.00% |
img/favicon-192x192.png | 7.31KB | 3.38KB | ▼ 53.72% |