Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.67MB] [CPU: ▼22.58ms] Passed 4 tests
A check of server-side resources used by Custom Comment Form Title
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.04 ▼2.15 |
Dashboard /wp-admin | 3.34 ▼0.01 | 49.82 ▼18.20 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 51.68 ▼1.34 |
Add New Post /wp-admin/post-new.php | 3.18 ▼2.72 | 37.55 ▼65.74 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.48 ▼4.23 |
Custom Comment Form Title /wp-admin/options-general.php?page=ccftoptions | 3.21 | 34.48 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Custom Comment Form Title
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.75 ▲0.35 | 1.62 ▼0.34 | 52.43 ▲9.48 |
Dashboard /wp-admin | 2,199 ▲19 | 5.66 ▲0.06 | 84.44 ▼17.79 | 39.25 ▼6.34 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▼0.02 | 34.23 ▼1.51 | 34.82 ▼2.86 |
Add New Post /wp-admin/post-new.php | 6,243 ▲4,712 | 18.72 ▼4.34 | 933.88 ▲237.38 | 58.06 ▼0.27 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.22 ▼0.01 | 100.18 ▼11.86 | 44.22 ▼4.61 |
Custom Comment Form Title /wp-admin/options-general.php?page=ccftoptions | 844 | 2.01 | 23.79 | 31.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=ccftoptions
- > Notice in wp-content/plugins/custom-comment-form-title/custom-comment-form-title.php+68
Trying to access array offset on value of type bool
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
The following issues need your attention
- 1× 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/custom-comment-form-title/custom-comment-form-title.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: comment form, page comments, post comments, disqus, comment...
custom-comment-form-title/custom-comment-form-title.php Passed 13 tests
Analyzing the main PHP file in "Custom Comment Form Title" version 2.2
55 characters long description:
Create custom Comment Form Titles for individual posts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin251 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 52 | 68 | 127 |
PO File | 2 | 22 | 22 | 124 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 11 | |
▷ Named functions | 11 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected