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.10MB] [CPU: ▼6.73ms] Passed 4 tests
A check of server-side resources used by Sender Content Terminal
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 35.48 ▼3.89 |
Dashboard /wp-admin | 3.40 ▲0.10 | 52.92 ▲5.37 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 47.40 ▲1.00 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 80.83 ▼23.18 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 34.62 ▼0.83 |
Sub Level Menu /wp-admin/admin.php?page=myplugin/myplugin-admin-sub-page.php | 3.27 | 26.59 |
Server storage [IO: ▲1.36MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Sender Content Terminal
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲73 | 13.94 ▼0.46 | 1.93 ▲0.17 | 40.79 ▼5.93 |
Dashboard /wp-admin | 2,215 ▲35 | 5.66 ▲0.08 | 101.39 ▲4.79 | 47.79 ▲0.33 |
Posts /wp-admin/edit.php | 2,120 ▲17 | 2.01 ▲0.06 | 38.56 ▼3.08 | 36.02 ▼4.79 |
Add New Post /wp-admin/post-new.php | 1,554 ▲19 | 17.93 ▼0.15 | 605.83 ▼30.55 | 103.96 ▲28.31 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.19 ▲0.00 | 96.97 ▼0.25 | 41.99 ▲0.04 |
Sub Level Menu /wp-admin/admin.php?page=myplugin/myplugin-admin-sub-page.php | 776 | 2.02 | 29.74 | 26.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=myplugin/myplugin-admin-sub-page.php
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'myplguin_admin_sub_page' not found or invalid function name
SRP 0% 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
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/sender-content-terminal/admin/partials/plugin-sender-content-terminal-display.php
- > /wp-content/plugins/sender-content-terminal/public/partials/sender-content-terminal-public-display.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/sender-content-terminal/admin/templates/index.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Donate link: Invalid URI found ("Sender.Law")
sender-content-terminal/sender-content-terminal.php 92% from 13 tests
Analyzing the main PHP file in "Sender Content Terminal" version 1.0.1
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 152 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin530 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 174 | 539 | 490 |
JavaScript | 2 | 10 | 54 | 39 |
CSS | 3 | 0 | 8 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 6.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 2.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.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 | 37 | |
▷ Static methods | 2 | 5.41% |
▷ Public methods | 31 | 83.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 16.22% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin