Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼8.74ms] Passed 4 tests
A check of server-side resources used by KIA Subtitle
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 42.53 ▲2.31 |
Dashboard /wp-admin | 3.41 ▲0.06 | 51.18 ▼11.96 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 54.78 ▲1.95 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 88.12 ▼23.96 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 39.36 ▼0.98 |
KIA Subtitle /wp-admin/options-general.php?page=kia_subtitle | 3.30 | 33.69 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
kia_subtitle_db_version |
can_compress_scripts |
kia_subtitle_options |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for KIA Subtitle
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.34 ▼0.01 | 1.65 ▲0.08 | 44.18 ▲4.54 |
Dashboard /wp-admin | 2,199 ▲19 | 5.57 ▲0.00 | 81.84 ▼11.70 | 37.82 ▼6.18 |
Posts /wp-admin/edit.php | 2,134 ▲52 | 2.00 ▼0.01 | 39.89 ▼1.21 | 36.75 ▼3.94 |
Add New Post /wp-admin/post-new.php | 1,700 ▲169 | 22.38 ▼0.73 | 670.79 ▲44.89 | 35.85 ▼28.36 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.19 ▲0.00 | 98.41 ▼4.81 | 47.87 ▲0.95 |
KIA Subtitle /wp-admin/options-general.php?page=kia_subtitle | 838 | 2.00 | 25.38 | 25.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 8 options in the database
- db_upgraded
- kia_subtitle_options
- can_compress_scripts
- kia_subtitle_db_version
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/kia-subtitle/includes/views/plugin-options.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please describe screenshot #2 in kia-subtitle/assets to your readme.txt
kia-subtitle/kia-subtitle.php Passed 13 tests
This is the main PHP file of "KIA Subtitle" version 3.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
47 characters long description:
Adds a subtitle field to WordPress' Post editor
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected390 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 169 | 339 | 361 |
JavaScript | 3 | 11 | 13 | 24 |
XML | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 54.00 |
▷ Minimum class complexity | 54.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 2.71 |
▷ 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 | 32 | |
▷ Static methods | 5 | 15.62% |
▷ Public methods | 32 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin