Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.79MB] [CPU: ▼31.89ms] Passed 4 tests
An overview of server-side resources used by Channeller - Telegram Channel Administrator
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 44.37 ▲2.36 |
Dashboard /wp-admin | 3.16 ▼0.15 | 26.04 ▼25.50 |
Posts /wp-admin/edit.php | 3.16 ▼0.20 | 26.40 ▼23.95 |
Add New Post /wp-admin/post-new.php | 3.16 ▼2.73 | 25.84 ▼66.90 |
Media Library /wp-admin/upload.php | 3.16 ▼0.08 | 25.47 ▼11.22 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Channeller - Telegram Channel Administrator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.17 ▼1.20 | 4.73 ▲2.81 | 45.97 ▲6.61 |
Dashboard /wp-admin | 2,209 ▲18 | 5.79 ▼0.07 | 99.21 ▼5.05 | 81.52 ▲39.37 |
Posts /wp-admin/edit.php | 2,109 ▲17 | 2.30 ▲0.29 | 41.08 ▲0.37 | 34.83 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,520 ▲1 | 17.44 ▼5.91 | 656.54 ▼44.05 | 34.59 ▼36.37 |
Media Library /wp-admin/upload.php | 1,398 ▲7 | 4.13 ▼0.07 | 98.57 ▲0.93 | 76.44 ▲31.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/channeller-telegram-channel-administrator/channeller.php+24
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/channeller-telegram-channel-administrator/channeller.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-publishsend.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-notification-metabox.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/channeller-telegram-channel-administrator/includes/ch-api-settings.php:2
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Channeller Settings Page), #2 (Channeller Meta Box on posts, pages or custom post types), #3 (Log Archive)
channeller-telegram-channel-administrator/channeller.php 92% from 13 tests
The entry point to "Channeller - Telegram Channel Administrator" version 1.5.4 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("channeller-telegram-channel-administrator.php" instead of "channeller.php")
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
Good job! No executable or dangerous file extensions detected1,059 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 67 | 40 | 846 |
PO File | 1 | 61 | 126 | 134 |
JavaScript | 1 | 24 | 76 | 79 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 29 | |
▷ Named functions | 29 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.07MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 21.33KB | 17.66KB | ▼ 17.21% |
includes/dashicon.png | 0.58KB | 0.74KB | 0.00% |
includes/channeller.png | 13.32KB | 12.18KB | ▼ 8.61% |
screenshot-2.png | 15.81KB | 7.72KB | ▼ 51.17% |
screenshot-1.png | 22.25KB | 16.31KB | ▼ 26.72% |