Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼167.64ms] Passed 4 tests
Server-side resources used by Super Simple Contact Form
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 40.72 ▲14.72 |
Dashboard /wp-admin | 3.07 ▲0.01 | 49.18 ▲3.32 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 51.84 ▲5.27 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 101.07 ▼677.94 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 35.93 ▼1.22 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Super Simple Contact Form: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,783 ▲211 | 15.98 ▲0.38 | 11.45 ▼1.53 | 49.38 ▼0.35 |
Dashboard /wp-admin | 3,051 ▲114 | 5.93 ▲0.02 | 143.69 ▼16.51 | 123.65 ▲0.08 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.70 ▼0.01 | 74.58 ▲4.84 | 94.12 ▼9.73 |
Add New Post /wp-admin/post-new.php | 1,604 ▼79 | 18.82 ▲0.15 | 384.64 ▼24.83 | 117.17 ▲0.04 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.02 ▼0.01 | 161.50 ▲9.31 | 133.67 ▲9.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/super-simple-contact-form/super-simple-contact-form.php:27
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (The contact form.), #2 (The message when one of the requried fields (return email address or message) is omitted.)
super-simple-contact-form/super-simple-contact-form.php Passed 13 tests
The primary PHP file in "Super Simple Contact Form" version 1.6.2 is used by WordPress to initiate all plugin functionality
82 characters long description:
An absurdly simple contact form plugin. Just type [contact]. There are no options.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected175 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 49 | 61 | 133 |
CSS | 1 | 1 | 1 | 42 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 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 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 5.04KB | 4.08KB | ▼ 19.08% |
screenshot-1.png | 7.69KB | 4.08KB | ▼ 46.90% |