Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.26MB] [CPU: ▼252.55ms] Passed 4 tests
Analyzing server-side resources used by th23 Contact
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.17 | 33.04 ▲10.90 |
Dashboard /wp-admin | 3.35 ▲0.29 | 47.49 ▲5.56 |
Posts /wp-admin/edit.php | 3.46 ▲0.35 | 49.08 ▲5.91 |
Add New Post /wp-admin/post-new.php | 5.72 ▲0.30 | 98.49 ▼1,023.64 |
Media Library /wp-admin/upload.php | 3.30 ▲0.30 | 42.46 ▲1.96 |
th23 Contact /wp-admin/options-general.php?page=th23-contact | 3.28 | 36.53 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 1 new option
New WordPress options |
---|
th23_contact_options |
Browser metrics Passed 4 tests
th23 Contact: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,691 ▲109 | 15.73 ▲0.17 | 7.85 ▲0.51 | 46.90 ▼4.38 |
Dashboard /wp-admin | 2,948 ▲92 | 6.13 ▲0.24 | 138.13 ▼8.59 | 102.70 ▼6.60 |
Posts /wp-admin/edit.php | 2,711 ▲8 | 2.82 ▲0.14 | 64.60 ▼0.57 | 88.73 ▼2.84 |
Add New Post /wp-admin/post-new.php | 1,860 ▲207 | 19.18 ▲0.44 | 369.64 ▲1.39 | 107.24 ▼6.75 |
Media Library /wp-admin/upload.php | 1,777 ▲8 | 5.00 ▼0.01 | 143.01 ▼10.08 | 109.51 ▼19.99 |
th23 Contact /wp-admin/options-general.php?page=th23-contact | 1,296 | 2.15 | 52.75 | 67.24 |
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 does not fully uninstall, leaving 1 option in the database
- th23_contact_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: contact, message, mail, contact form, shortcode
th23-contact/th23-contact.php 92% from 13 tests
The main PHP script in "th23 Contact" version 2.4.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 178 characters long)
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
Everything looks great! No dangerous files found in this plugin1,881 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 193 | 271 | 1,217 |
PO File | 1 | 90 | 125 | 329 |
CSS | 2 | 7 | 21 | 225 |
JavaScript | 2 | 12 | 27 | 110 |
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.58 |
Average class complexity | 107.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 260.00 |
Average method complexity | 8.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 81.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 | 41 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 41 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon-square.png | 8.88KB | 3.14KB | ▼ 64.58% |
img/icon-horizontal.png | 6.11KB | 1.63KB | ▼ 73.39% |