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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.77ms] Passed 4 tests
Server-side resources used by Listen2It - Text-to-speech audio articles
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.80 ▲0.56 |
Dashboard /wp-admin | 3.33 ▼0.02 | 48.26 ▼14.97 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.02 ▼7.78 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 88.69 ▼12.90 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.56 ▲2.55 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Listen2It - Text-to-speech audio articles
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 14.28 ▲0.00 | 1.98 ▲0.33 | 40.70 ▼2.71 |
Dashboard /wp-admin | 2,207 ▲30 | 5.78 ▲0.16 | 86.37 ▼4.09 | 68.95 ▲25.43 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 2.26 ▲0.26 | 32.61 ▼2.65 | 32.84 ▼5.51 |
Add New Post /wp-admin/post-new.php | 1,703 ▲175 | 22.45 ▼0.67 | 756.39 ▲103.46 | 54.75 ▼2.34 |
Media Library /wp-admin/upload.php | 1,421 ▲24 | 4.41 ▲0.20 | 100.43 ▼0.76 | 77.96 ▲33.37 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/listen2it/public/partials/listen2it-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 settings_errors() in wp-content/plugins/listen2it/admin/partials/listen2it-admin-display.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #6 (Configure the WordPress Listen2It Plugin)
- Donate link: Invalid url: ""
- Screenshots: Add a description for screenshot #7 in listen2it/assets to your readme.txt
listen2it/listen2it.php 92% from 13 tests
The entry point to "Listen2It - Text-to-speech audio articles" version 1.0.2 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 148 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin557 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 232 | 528 | 471 |
JavaScript | 3 | 34 | 55 | 59 |
CSS | 2 | 6 | 8 | 24 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 5.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 34 | |
▷ Static methods | 2 | 5.88% |
▷ Public methods | 29 | 85.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.71% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/icon.png | 0.70KB | 0.53KB | ▼ 24.62% |