Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.61MB] [CPU: ▼14.20ms] Passed 4 tests
A check of server-side resources used by Support Forum for Envato
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.14 ▼0.32 | 27.26 ▼17.16 |
Dashboard /wp-admin | 3.42 ▲0.11 | 51.54 ▼6.23 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 55.96 ▲8.10 |
Add New Post /wp-admin/post-new.php | 3.56 ▼2.32 | 63.08 ▼38.63 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 43.93 ▲5.24 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
sfe_purchase_form_page_id |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Support Forum for Envato: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,477 ▼284 | 14.21 ▼0.42 | 0.55 ▼1.24 | 14.27 ▼23.69 |
Dashboard /wp-admin | 2,210 ▲39 | 5.54 ▼0.12 | 91.51 ▼13.29 | 47.47 ▲3.00 |
Posts /wp-admin/edit.php | 2,095 ▼5 | 1.99 ▲0.02 | 42.72 ▲6.67 | 43.74 ▲9.36 |
Add New Post /wp-admin/post-new.php | 3,115 ▲1,586 | 7.71 ▼15.43 | 210.65 ▼469.43 | 80.08 ▲19.22 |
Media Library /wp-admin/upload.php | 1,415 ▲18 | 4.19 ▼0.08 | 99.50 ▼17.66 | 46.46 ▼1.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- sfe_purchase_form_page_id
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: help, support, topic, bbpress, thread...
octagon-support-forum-for-envato/support-forum-for-envato.php 85% from 13 tests
"Support Forum for Envato" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("octagon-support-forum-for-envato.php" instead of "support-forum-for-envato.php")
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
There were no executable files found in this plugin714 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 261 | 351 | 522 |
Markdown | 3 | 62 | 0 | 112 |
CSS | 1 | 18 | 13 | 80 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 9.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 10 | 22.73% |
▷ Public methods | 33 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 25.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
No PNG images were found in this plugin