Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼7.79ms] Passed 4 tests
Server-side resources used by Capitalize My Title WordPress Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 34.41 ▼5.56 |
Dashboard /wp-admin | 3.38 ▲0.08 | 42.83 ▼10.27 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 47.49 ▼2.90 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 85.89 ▼12.44 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 36.82 ▲2.66 |
Server storage [IO: ▲3.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 7 new options
New WordPress options |
---|
title_styles |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Capitalize My Title WordPress Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 14.47 ▲0.10 | 1.68 ▼0.23 | 38.97 ▼6.37 |
Dashboard /wp-admin | 2,224 ▲36 | 5.80 ▼0.06 | 99.34 ▼18.79 | 72.49 ▲27.59 |
Posts /wp-admin/edit.php | 2,135 ▲46 | 6.97 ▲4.81 | 69.61 ▲30.15 | 36.06 ▼1.95 |
Add New Post /wp-admin/post-new.php | 6,476 ▲4,948 | 33.62 ▲10.47 | 1,031.68 ▲363.21 | 56.31 ▼4.98 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.19 ▲0.06 | 104.37 ▼10.05 | 43.95 ▼3.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- title_styles
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, 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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/capitalize-my-title/inc/post.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/capitalize-my-title/inc/settings.php:202
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/capitalize-my-title/inc/admin.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (Capitalize your titles and headings in posts and pages.), #2 (Select which style you want to use for each header.), #3 ([Premium] Use keyboard shorts to capitalize your titles.), #4 ([Premium] Bulk update all headers and titles.)
capitalize-my-title/capitalize-my-title.php 85% from 13 tests
"Capitalize My Title WordPress Plugin" version 0.5.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin7,357 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 0 | 0 | 5,035 |
CSS | 3 | 58 | 29 | 916 |
JavaScript | 6 | 156 | 44 | 594 |
LESS | 1 | 58 | 10 | 448 |
PHP | 5 | 161 | 76 | 364 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 8 | 72.73% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
5 PNG files occupy 0.21MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 30.37KB | 14.83KB | ▼ 51.17% |
images/cmt-icon-16x16.png | 0.77KB | 0.25KB | ▼ 68.14% |
screenshot-2.png | 25.08KB | 11.63KB | ▼ 53.62% |
screenshot-3.png | 61.05KB | 32.03KB | ▼ 47.53% |
screenshot-1.png | 99.92KB | 41.02KB | ▼ 58.95% |