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.04MB] [CPU: ▼5.99ms] Passed 4 tests
Analyzing server-side resources used by Theme My Ontraport Smartform
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.37 ▲2.91 |
Dashboard /wp-admin | 3.35 ▲0.01 | 46.14 ▼16.22 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.55 ▲4.36 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 81.12 ▼15.01 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.40 ▲7.27 |
Theme My Smartforms /wp-admin/options-general.php?page=itmooti-oap-admin | 3.22 | 31.52 |
Server storage [IO: ▲4.46MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 94 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-comments |
itmooti-oap-themes_message |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
oap_custom_theme_plugin_link_license_link |
widget_recent-posts |
oap_custom_theme_plugin_link_support_link |
can_compress_scripts |
oap_custom_theme_plugin_authenticated |
Browser metrics Passed 4 tests
Checking browser requirements for Theme My Ontraport Smartform
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲53 | 13.27 ▼0.91 | 4.43 ▲2.64 | 41.59 ▲1.33 |
Dashboard /wp-admin | 2,233 ▲48 | 4.85 ▼0.24 | 101.11 ▼2.55 | 38.95 ▼4.62 |
Posts /wp-admin/edit.php | 2,115 ▲23 | 2.03 ▲0.05 | 36.73 ▼2.32 | 36.84 ▲5.90 |
Add New Post /wp-admin/post-new.php | 1,556 ▲37 | 22.98 ▼0.09 | 671.02 ▲1.32 | 53.93 ▼5.57 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.20 ▲0.02 | 97.21 ▼9.59 | 45.74 ▼0.10 |
Theme My Smartforms /wp-admin/options-general.php?page=itmooti-oap-admin | 870 | 2.18 | 23.14 | 26.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 10 options
- widget_recent-posts
- oap_custom_theme_plugin_link_support_link
- oap_custom_theme_plugin_link_license_link
- theysaidso_admin_options
- widget_theysaidso_widget
- oap_custom_theme_plugin_authenticated
- widget_recent-comments
- itmooti-oap-themes_message
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=itmooti-oap-admin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=itmooti-oap-admin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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 take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/theme-my-ontraport-smartform/theme-my-smartform.php:19
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: spam, comments
theme-my-ontraport-smartform/theme-my-smartform.php 92% from 13 tests
Analyzing the main PHP file in "Theme My Ontraport Smartform" version 1.2.11
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("theme-my-ontraport-smartform.php" instead of "theme-my-smartform.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin6,353 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 13 | 135 | 53 | 5,068 |
SVG | 3 | 0 | 0 | 712 |
JavaScript | 8 | 9 | 5 | 381 |
PHP | 1 | 7 | 10 | 192 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
49 PNG files occupy 2.95MB with 1.60MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
themes/ruby/images/yellow-circle.png | 0.55KB | 0.44KB | ▼ 19.07% |
themes/amber-2/images/5.png | 3.08KB | 0.41KB | ▼ 86.76% |
assets/screenshot-9.png | 94.58KB | 25.39KB | ▼ 73.15% |
themes/diamond/chosen/chosen.png | 1.47KB | 2.08KB | 0.00% |
themes/opal/images/1.png | 2.87KB | 0.23KB | ▼ 92.08% |