Benchmarks
Plugin footprint 83% from 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.08MB] [CPU: ▼1.88ms] Passed 4 tests
A check of server-side resources used by WP-Nafudakake Dojo Rank Board Generator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 37.18 ▼2.77 |
Dashboard /wp-admin | 3.37 ▲0.07 | 43.99 ▼0.73 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.81 ▲4.06 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 88.74 ▼5.47 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.31 ▲1.44 |
Instructions /wp-admin/admin.php?page=wpnafu_menu_handle | 3.27 | 30.92 |
Editor /wp-admin/admin.php?page=wpnafu_editor_handle | 3.26 | 33.82 |
Settings /wp-admin/admin.php?page=wpnafu_settings_handle | 3.27 | 30.01 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 13 new options
New WordPress options |
---|
nafu_slatspacing |
nafu_slatheight |
nafu_showtooltip |
widget_theysaidso_widget |
nafu_slatwidth |
theysaidso_admin_options |
nafu_layouttype |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WP-Nafudakake Dojo Rank Board Generator
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲201 | 13.58 ▼0.73 | 5.71 ▲4.06 | 39.13 ▼2.03 |
Dashboard /wp-admin | 2,241 ▲50 | 4.88 ▲0.00 | 110.85 ▲6.79 | 40.14 ▼1.40 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.00 ▼0.01 | 40.35 ▲5.48 | 34.45 ▲1.69 |
Add New Post /wp-admin/post-new.php | 1,554 ▲35 | 18.23 ▼5.03 | 610.89 ▼25.96 | 51.10 ▲1.14 |
Media Library /wp-admin/upload.php | 1,423 ▲32 | 4.18 ▼0.01 | 94.53 ▼4.81 | 41.43 ▼1.87 |
Instructions /wp-admin/admin.php?page=wpnafu_menu_handle | 904 | 2.78 | 66.63 | 29.14 |
Editor /wp-admin/admin.php?page=wpnafu_editor_handle | 866 | 2.03 | 23.26 | 20.84 |
Settings /wp-admin/admin.php?page=wpnafu_settings_handle | 1,272 | 2.06 | 24.08 | 31.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 13 options in the database
- widget_theysaidso_widget
- nafu_rowcount
- theysaidso_admin_options
- widget_recent-comments
- nafu_slatspacing
- can_compress_scripts
- nafu_slatheight
- nafu_layouttype
- db_upgraded
- nafu_fontsize
- ...
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
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=wpnafu_editor_handle
- > Warning in wp-content/plugins/wp-nafudakake-dojo-rank-board-generator/code/admin.php+248
count(): Parameter must be an array or an object that implements Countable
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpnafu_settings_handle
- > Network (severe)
wp-content/plugins/wp-nafudakake-dojo-rank-board-generator/styles/wp-nafu-admin.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpnafu_settings_handle
- > Network (severe)
wp-content/plugins/wp-nafudakake-dojo-rank-board-generator/code/wp-nafu-admin.js - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: school, martial art, students, members, shortcode...
wp-nafudakake-dojo-rank-board-generator/wp-nafudakake.php 77% from 13 tests
The main PHP file in "WP-Nafudakake Dojo Rank Board Generator" ver. 2.01 11/14/2017... adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "2.01 11/14/2017...")
- Main file name: Name the main plugin file the same as the plugin slug ("wp-nafudakake-dojo-rank-board-generator.php" instead of "wp-nafudakake.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 323 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,795 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 165 | 54 | 564 |
JSON | 1 | 136 | 0 | 482 |
PHP | 5 | 161 | 101 | 463 |
CSS | 1 | 78 | 27 | 286 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 24 | |
▷ Named functions | 24 | 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 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/trash-512.png | 11.36KB | 5.01KB | ▼ 55.93% |