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.01MB] [CPU: ▼6.42ms] Passed 4 tests
Analyzing server-side resources used by Autocorrector WP CamelCase
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.93 ▼3.64 |
Dashboard /wp-admin | 3.32 ▲0.01 | 53.05 ▼9.29 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.39 ▼4.98 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.84 ▼7.75 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.28 ▲6.34 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Autocorrector WP CamelCase
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲140 | 13.32 ▼1.09 | 8.83 ▲7.35 | 42.61 ▼1.40 |
Dashboard /wp-admin | 2,196 ▲16 | 5.49 ▼0.18 | 83.88 ▼4.10 | 38.51 ▼5.77 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.99 ▼0.03 | 35.48 ▼0.56 | 36.20 ▲1.03 |
Add New Post /wp-admin/post-new.php | 1,533 ▲8 | 23.24 ▼0.34 | 606.21 ▼13.82 | 59.52 ▼3.65 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.24 ▲0.04 | 96.32 ▼10.38 | 42.32 ▼1.74 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/autocorrector-wp-camelcase/admin/partials/autocorrector-wp-camelcase-admin-display.php
- > /wp-content/plugins/autocorrector-wp-camelcase/public/partials/autocorrector-wp-camelcase-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: autocorrector, comments, spam, camelcase, rename...
autocorrector-wp-camelcase/autocorrector-wp-camelcase.php Passed 13 tests
This is the main PHP file of "Autocorrector WP CamelCase" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
60 characters long description:
Simple plugin to correct camelcase while writting WordPress.
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
No dangerous file extensions were detected176 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 119 | 536 | 170 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 18 | 78.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 21.74% |
Functions | 4 | |
▷ Named functions | 4 | 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
No PNG images were found in this plugin