Benchmarks
Plugin footprint 83% from 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: ▼2.72ms] Passed 4 tests
An overview of server-side resources used by TelSender Event
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.98 ▼4.58 |
Dashboard /wp-admin | 3.31 ▲0.01 | 51.40 ▲1.37 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 52.09 ▲3.55 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.02 ▼8.35 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.69 ▲0.69 |
Server storage [IO: ▲0.10MB] [DB: ▲0.31MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by TelSender Event
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.27 ▼0.08 | 1.60 ▼0.16 | 43.02 ▲4.43 |
Dashboard /wp-admin | 2,195 ▲15 | 5.64 ▼0.02 | 93.11 ▲2.21 | 43.42 ▼1.63 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.01 | 44.87 ▲7.87 | 34.17 ▼1.45 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.13 ▼0.63 | 662.86 ▼37.93 | 64.55 ▲10.43 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.18 ▼0.09 | 112.72 ▲19.74 | 48.05 ▲2.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 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)
Even though no errors were found, this is by no means an exhaustive test
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 fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/telsender-events/assets/template/settings.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add a description for screenshot #1 in telsender-events/assets to your readme.txt
telsender-events/index.php 85% from 13 tests
The primary PHP file in "TelSender Event" version 0.2 is used by WordPress to initiate all plugin functionality
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 ("telsender-events.php" instead of "index.php")
- Description: Please use more than 10 characters for the plugin description (currently 0 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,204 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 204 | 186 | 568 |
CSS | 2 | 32 | 19 | 553 |
Markdown | 1 | 11 | 0 | 55 |
JavaScript | 2 | 11 | 1 | 28 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 22.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 10 | 33.33% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 1 | 3.33% |
▷ Private methods | 4 | 13.33% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin