Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼6.28ms] Passed 4 tests
Analyzing server-side resources used by TukuToi Contact Form
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 41.17 ▼7.05 |
Dashboard /wp-admin | 3.40 ▲0.10 | 50.41 ▼3.07 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 51.17 ▲0.82 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 88.02 ▼15.80 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 41.50 ▲3.62 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by TukuToi Contact Form
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.20 ▼1.22 | 1.73 ▼0.15 | 41.72 ▼2.30 |
Dashboard /wp-admin | 2,206 ▲18 | 5.88 ▲0.86 | 101.98 ▼7.24 | 39.78 ▼0.61 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▼0.01 | 39.01 ▲3.47 | 34.68 ▲2.16 |
Add New Post /wp-admin/post-new.php | 1,535 ▲16 | 23.14 ▼0.11 | 647.44 ▼89.71 | 61.42 ▼1.18 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.18 ▼0.04 | 108.05 ▼33.37 | 50.72 ▼2.81 |
Uninstaller [IO: ▲0.08MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following itemsThis plugin does not fully uninstall, leaving 6 options in the database
- The plugin did not uninstall successfully, leaving 17 files (0.08MB) in the plugin directory
- (new file) includes/class-tkt-contact-form-deactivator.php
- (new file) README.txt
- (new file) includes/class-tkt-contact-form.php
- (new file) includes/class-tkt-contact-form-i18n.php
- (new file) index.php
- (new file) includes/index.php
- (new file) includes/class-tkt-contact-form-activator.php
- (new file) changelog.txt
- (new file) LICENSE.txt
- (new file) includes/class-tkt-contact-form-loader.php
- ...
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: form, contact form, classicpress
tkt-contact-form/tkt-contact-form.php Passed 13 tests
The main file in "TukuToi Contact Form" v. 2.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
36 characters long description:
A simple Contact Form for WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin596 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 243 | 736 | 545 |
JavaScript | 1 | 8 | 27 | 28 |
CSS | 1 | 0 | 4 | 23 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 13.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 8 | 20.51% |
▷ Public methods | 21 | 53.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 46.15% |
Functions | 4 | |
▷ Named functions | 4 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin