Benchmarks
Plugin footprint 57% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/talk-to-composer/src/TalkToComposer.php+75
Undefined variable: output
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.02ms] Passed 4 tests
An overview of server-side resources used by Talk to Composer
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.97 ▲0.38 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.55 ▼4.81 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.26 ▲2.32 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 79.61 ▼20.05 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.06 ▲0.39 |
Server storage [IO: ▲2.74MB] [DB: ▲0.07MB] 67% from 3 tests
A short overview of filesystem and database impact
It is recommended to fix the following issues
- You have illegally modified 1 file (0.14KB) outside of "wp-content/plugins/talk-to-composer/" and "wp-content/uploads/"
- (new file) composer.json
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Talk to Composer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▼0.00 | 1.82 ▲0.24 | 39.91 ▼0.83 |
Dashboard /wp-admin | 2,195 ▲17 | 5.50 ▼0.11 | 83.76 ▼17.06 | 39.24 ▼4.12 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.01 | 33.35 ▼3.82 | 31.72 ▼4.09 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.34 ▲0.38 | 676.78 ▲24.98 | 60.06 ▲8.71 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▲0.08 | 92.16 ▼8.03 | 44.91 ▼0.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- 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 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× 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/talk-to-composer/index.php:39
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/talk-to-composer/src/TalkToComposer.php on line 243
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: composer, git
talk-to-composer/index.php 92% from 13 tests
"Talk to Composer" version 1.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("talk-to-composer.php" instead of "index.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
Good job! No executable or dangerous file extensions detected54,166 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 45,174 | 32,616 | 54,166 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 60.00% |
▷ Protected methods | 4 | 40.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG files were detected