Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼8.43MB] [CPU: ▼1,363,489.82ms] Passed 4 tests
Server-side resources used by WP Keliosis
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.29 ▼28.05 | 9.12 ▼5,453,754.70 |
Dashboard /wp-admin | 2.35 ▼1.04 | 11.21 ▼54.78 |
Posts /wp-admin/edit.php | 2.35 ▼1.05 | 11.69 ▼45.75 |
Add New Post /wp-admin/post-new.php | 2.35 ▼3.58 | 10.78 ▼104.03 |
Media Library /wp-admin/upload.php | 2.35 ▼0.92 | 11.09 ▼27.34 |
Email /wp-admin/admin.php?page=wpk_email | 2.35 | 11.21 |
Changelog /wp-admin/admin.php?page=wpk_changelog | 2.35 | 12.33 |
Medias /wp-admin/admin.php?page=wpk_medias | 2.35 | 13.52 |
Dashboard /wp-admin/admin.php?page=wp_keliosis | 2.35 | 12.31 |
Server storage [IO: ▲0.76MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 23 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_keliosis |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Keliosis
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲78 | 14.17 ▼0.01 | 1.81 ▼0.01 | 44.63 ▼0.92 |
Dashboard /wp-admin | 2,233 ▲53 | 5.64 ▼0.04 | 91.82 ▼5.41 | 41.68 ▼4.14 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.00 ▼0.02 | 39.93 ▲3.28 | 35.11 ▲0.26 |
Add New Post /wp-admin/post-new.php | 1,554 ▲26 | 23.32 ▲0.40 | 689.50 ▼12.55 | 62.96 ▲9.57 |
Media Library /wp-admin/upload.php | 1,438 ▲41 | 4.20 ▼0.07 | 107.66 ▼0.20 | 52.38 ▲3.66 |
Email /wp-admin/admin.php?page=wpk_email | 984 | 2.29 | 37.07 | 69.42 |
Changelog /wp-admin/admin.php?page=wpk_changelog | 1,276 | 2.18 | 37.26 | 51.64 |
Medias /wp-admin/admin.php?page=wpk_medias | 968 | 2.30 | 30.54 | 38.66 |
Dashboard /wp-admin/admin.php?page=wp_keliosis | 994 | 2.14 | 31.93 | 35.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/wp-keliosis/inc/admin/options.inc.php+18
Undefined offset: 0
- Zombie tables detected upon uninstall: 1 table
- wp_keliosis
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 15 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp_keliosis
- > Notice in wp-content/plugins/wp-keliosis/inc/admin/options.inc.php+18
Undefined offset: 0
- 15 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp_keliosis
- > Notice in wp-content/plugins/wp-keliosis/inc/admin/options.inc.php+18
Trying to access array offset on value of type null
- 53 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp_keliosis
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 53 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp_keliosis
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
- > GET request to /wp-admin/admin.php?page=wpk_changelog
- > Notice in wp-content/plugins/wp-keliosis/views/changelog.php+29
Undefined variable: i
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 fix the following
- 12× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/wp-keliosis/views/medias.php
- > /wp-content/plugins/wp-keliosis/views/dashboard.php
- > /wp-content/plugins/wp-keliosis/inc/admin/options.inc.php
- > /wp-content/plugins/wp-keliosis/inc/admin/admin_menu.inc.php
- > /wp-content/plugins/wp-keliosis/wp-keliosis.php
- > /wp-content/plugins/wp-keliosis/inc/data/save.inc.php
- > /wp-content/plugins/wp-keliosis/inc/template/title.inc.php
- > /wp-content/plugins/wp-keliosis/views/changelog.php
- > /wp-content/plugins/wp-keliosis/inc/admin/ui/enqueue.inc.php
- > /wp-content/plugins/wp-keliosis/views/email.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Screenshots: Please a description for screenshot #1 in wp-keliosis/assets to your readme.txt
wp-keliosis/wp-keliosis.php 92% from 13 tests
The primary PHP file in "WP Keliosis" version 0.3.2 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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 detected12,221 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 3,269 | 3,254 | 11,457 |
PHP | 15 | 153 | 170 | 566 |
PO File | 1 | 45 | 52 | 133 |
Markdown | 1 | 26 | 0 | 64 |
CSS | 1 | 1 | 6 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 15 | 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 files were detected