Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼267.42ms] Passed 4 tests
Server-side resources used by Subtitle
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.02 | 33.69 ▲7.86 |
Dashboard /wp-admin | 3.07 ▲0.02 | 42.60 ▲7.48 |
Posts /wp-admin/edit.php | 3.12 ▲0.02 | 42.44 ▼5.85 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 92.42 ▼1,065.56 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 33.13 ▼5.75 |
Server storage [IO: ▲1.20MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Subtitle: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,674 ▲92 | 15.80 ▲0.24 | 7.58 ▲0.35 | 48.14 ▲3.02 |
Dashboard /wp-admin | 2,931 ▲81 | 5.88 ▲0.05 | 135.94 ▲1.96 | 113.59 ▲18.63 |
Posts /wp-admin/edit.php | 2,706 ▼0 | 2.68 ▼0.02 | 66.40 ▼3.20 | 93.12 ▼0.74 |
Add New Post /wp-admin/post-new.php | 1,653 ▼0 | 18.56 ▼0.15 | 350.37 ▼26.54 | 108.45 ▼4.07 |
Media Library /wp-admin/upload.php | 1,775 ▲3 | 5.00 ▼0.02 | 144.51 ▼15.68 | 102.73 ▼12.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
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)
Good news, no errors were detected
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 take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/subcontent/subcontent.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #1 (Another editor for subcontent appears!)
subcontent/subcontent.php Passed 13 tests
The main PHP file in "Subtitle" ver. 0.2 adds more information about the plugin and also serves as the entry point for this plugin
75 characters long description:
This plugin adds another editor to your post/page/customposttype edit page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin71 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 20 | 13 | 71 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected