Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▲2.54ms] Passed 4 tests
This is a short check of server-side resources used by Norse Rune Oracle Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 45.00 ▲7.27 |
Dashboard /wp-admin | 3.45 ▲0.14 | 49.65 ▼2.57 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 52.79 ▲4.95 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 87.88 ▲0.92 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 39.53 ▲6.85 |
Norse Runes Oracle Instructions/Setup /wp-admin/tools.php?page=runes-submenu-page | 3.34 | 37.88 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 32 new options
New WordPress options |
---|
norserune_runecount_10 |
norserune_runecount_7 |
norserune_runecount_2 |
db_upgraded |
widget_theysaidso_widget |
norserune_runecount_13 |
norserune_runecount_22 |
norserune_runecount_19 |
widget_recent-comments |
norserune_runecount_21 |
... |
Browser metrics Passed 4 tests
Norse Rune Oracle Plugin: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.29 ▼1.18 | 1.56 ▼0.13 | 41.81 ▲3.89 |
Dashboard /wp-admin | 2,213 ▲21 | 5.79 ▲0.83 | 94.88 ▼11.80 | 37.81 ▼1.94 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 1.99 ▲0.02 | 33.33 ▼1.08 | 36.73 ▲1.16 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 18.22 ▼5.05 | 644.42 ▼65.85 | 57.06 ▲6.04 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.28 ▲0.05 | 95.33 ▼3.69 | 43.11 ▲1.48 |
Norse Runes Oracle Instructions/Setup /wp-admin/tools.php?page=runes-submenu-page | 1,214 | 2.05 | 26.83 | 60.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 32 options
- norserune_runecount_10
- norserune_runecount_9
- norserune_runecount_22
- norserune_runecount_4
- widget_recent-posts
- norserune_runecount_14
- norserune_runecount_2
- norserune_runecount_1
- norserune_runecount_23
- norserune_runecount_18
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/norse-runes-oracle/NorseRunes.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function runes_header() in wp-content/plugins/norse-runes-oracle/NorseRunesAdmin.php:10
- > PHP Fatal error
Uncaught Error: Class 'runes' not found in wp-content/plugins/norse-runes-oracle/runes.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 13 tag instead of maximum 10
norse-runes-oracle/NorseRunes.php 85% from 13 tests
"Norse Rune Oracle Plugin" version 1.4.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("norse-runes-oracle.php" instead of "NorseRunes.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 308 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected527 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 175 | 35 | 414 |
CSS | 1 | 1 | 1 | 81 |
XML | 2 | 0 | 0 | 32 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.20 |
▷ 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 | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.37MB with 0.25MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 375.72KB | 116.32KB | ▼ 69.04% |