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.39MB] [CPU: ▼1.89ms] Passed 4 tests
This is a short check of server-side resources used by JRM Killboard
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 37.77 ▼3.47 |
Dashboard /wp-admin | 3.81 ▲0.50 | 46.04 ▼2.84 |
Posts /wp-admin/edit.php | 3.86 ▲0.50 | 47.00 ▲2.41 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.44 | 85.27 ▼3.64 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 43.15 ▲7.50 |
Configurations /wp-admin/admin.php?page=jrmevekillboard_settings | 3.71 | 41.88 |
Graphics /wp-admin/admin.php?page=jrmevekillboard_graphics | 3.76 | 34.77 |
Items /wp-admin/admin.php?page=jrmevekillboard_items | 3.66 | 35.45 |
Killboard /wp-admin/admin.php?page=jrmevekillboard_main | 3.69 | 35.75 |
Server storage [IO: ▲1.00MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: 5 new tables, 44 new options
New tables |
---|
wp_jrm_corporation |
wp_jrm_capsuler |
wp_jrm_queue |
wp_jrm_killboard |
wp_jrm_item |
New WordPress options |
---|
jrm_killboard_esi_client_id |
jrm_killboard_footer_color |
jrm_killboard_deaths_bg |
jrm_killboard_btn_align |
jrm_killboard_table_header_text |
jrm_killboard_footer_text |
db_upgraded |
jrm_killboard_inspect_items |
jrm_killboard_cronjob_secret |
jrm_killboard_title |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for JRM Killboard
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲99 | 14.74 ▲0.30 | 1.73 ▼0.14 | 39.32 ▼7.20 |
Dashboard /wp-admin | 2,240 ▲51 | 4.90 ▼0.08 | 95.28 ▼36.31 | 66.83 ▲22.19 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.04 ▼0.01 | 34.05 ▼3.88 | 31.32 ▼3.64 |
Add New Post /wp-admin/post-new.php | 1,695 ▲176 | 21.83 ▼1.54 | 709.33 ▲68.13 | 47.60 ▼2.19 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.22 ▲0.01 | 104.41 ▲7.23 | 44.15 ▲1.39 |
Configurations /wp-admin/admin.php?page=jrmevekillboard_settings | 1,154 | 2.09 | 29.07 | 67.92 |
Graphics /wp-admin/admin.php?page=jrmevekillboard_graphics | 1,689 | 2.06 | 27.29 | 52.60 |
Items /wp-admin/admin.php?page=jrmevekillboard_items | 984 | 2.23 | 24.61 | 43.95 |
Killboard /wp-admin/admin.php?page=jrmevekillboard_main | 970 | 2.07 | 24.97 | 36.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/jrm-killboard/jrmkb_killboard.php
- 11× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/jrm-killboard/admin/partials/main_graphics.php:2
- > PHP Notice
Undefined variable: titleAlign in wp-content/plugins/jrm-killboard/public/partials/frontend.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/jrm-killboard/admin/partials/main_items.php:2
- > PHP Notice
Undefined variable: titleAlign in wp-content/plugins/jrm-killboard/public/partials/frontend.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/jrm-killboard/public/jrmkillboard_public.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/jrm-killboard/admin/partials/main_panel.php:5
- > PHP Notice
Undefined variable: titleColor in wp-content/plugins/jrm-killboard/public/partials/frontend.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/jrm-killboard/admin/partials/main_settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/jrm-killboard/admin/partials/copyright_footer.php:2
- > PHP Notice
Undefined variable: titleText in wp-content/plugins/jrm-killboard/public/partials/frontend.php on line 4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: game, eve online, killboard, eve, eveonline
jrm-killboard/jrmkb_killboard.php 77% from 13 tests
"JRM Killboard" version 1.3.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("jrm-killboard.php" instead of "jrmkb_killboard.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 376 characters long)
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin3,745 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 342 | 522 | 2,817 |
JavaScript | 2 | 57 | 41 | 431 |
PO File | 1 | 189 | 214 | 417 |
Markdown | 1 | 26 | 0 | 79 |
CSS | 1 | 0 | 6 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 77.33 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 154.00 |
Average method complexity | 4.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 25 | 38.46% |
▷ Public methods | 53 | 81.54% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 18.46% |
Functions | 33 | |
▷ Named functions | 33 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 1 | 7.69% |
▷ Class constants | 12 | 92.31% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/spaceship.png | 0.41KB | 0.33KB | ▼ 18.75% |