Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.21MB] [CPU: ▼11.81ms] Passed 4 tests
A check of server-side resources used by Contact Form - Custom Builder, Payment Form, and More
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.91 ▲1.93 |
Dashboard /wp-admin | 3.36 ▲0.06 | 44.33 ▼4.73 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 50.87 ▲1.68 |
Add New Post /wp-admin/post-new.php | 4.87 ▼1.01 | 50.15 ▼44.02 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 33.61 ▼0.18 |
Server storage [IO: ▲2.30MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 148 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
powr_token |
powr_install_time |
widget_recent-comments |
db_upgraded |
widget_powr_powr_pack |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Contact Form - Custom Builder, Payment Form, and More: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲124 | 13.41 ▼0.86 | 7.06 ▲5.18 | 38.12 ▼1.91 |
Dashboard /wp-admin | 2,229 ▲44 | 4.92 ▼0.96 | 94.65 ▼3.91 | 71.92 ▲29.15 |
Posts /wp-admin/edit.php | 2,112 ▲26 | 2.01 ▲0.01 | 40.29 ▲3.24 | 35.27 ▲3.11 |
Add New Post /wp-admin/post-new.php | 6,212 ▲4,698 | 19.69 ▲2.01 | 937.20 ▲244.33 | 39.27 ▼9.88 |
Media Library /wp-admin/upload.php | 1,411 ▲20 | 4.22 ▲0.05 | 111.01 ▲9.38 | 50.83 ▲5.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 9 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- powr_token
- widget_powr_powr_pack
- widget_recent-comments
- powr_install_time
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
- 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/powr-pack/src/pack.php:60
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: contact form, popup, instagram feed, countdown timer, form
powr-pack/plugin.php 85% from 13 tests
The principal PHP file in "Contact Form - Custom Builder, Payment Form, and More" v. 2.1.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("powr-pack.php" instead of "plugin.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 205 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin15,982 lines of code in 134 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 65 | 131 | 55 | 8,652 |
JSON | 2 | 0 | 0 | 6,902 |
PHP | 3 | 25 | 83 | 323 |
SVG | 57 | 0 | 0 | 57 |
Sass | 3 | 3 | 1 | 40 |
CSS | 4 | 0 | 0 | 8 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.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
6 PNG files occupy 0.40MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/images/icon-128x128.png | 10.97KB | 5.44KB | ▼ 50.43% |
powr-icon.png | 0.35KB | 0.21KB | ▼ 39.78% |
src/images/powr-icon.png | 0.35KB | 0.21KB | ▼ 39.78% |
src/images/icon-256x256.png | 31.17KB | 15.40KB | ▼ 50.59% |
src/images/banner-772x250.png | 60.82KB | 22.95KB | ▼ 62.27% |