Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼13.52ms] Passed 4 tests
This is a short check of server-side resources used by ミエルカヒートマップ タグマネージャー
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 44.15 ▲2.67 |
Dashboard /wp-admin | 3.34 ▼0.01 | 47.27 ▼17.28 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.31 ▼2.51 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.14 ▼27.81 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.19 ▼6.48 |
ミエルカヒートマップ /wp-admin/admin.php?page=mieruca-heatmap-tag-manager | 3.22 | 33.07 |
設定 /wp-admin/admin.php?page=mieruca-heatmap-tag-manager-config | 3.23 | 32.98 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for ミエルカヒートマップ タグマネージャー
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲70 | 14.36 ▼0.29 | 2.10 ▲0.37 | 44.82 ▲4.34 |
Dashboard /wp-admin | 2,225 ▲45 | 5.61 ▲0.03 | 85.93 ▼8.51 | 50.55 ▲8.80 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.02 ▲0.04 | 35.49 ▼2.22 | 44.93 ▲9.53 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.22 ▲0.21 | 674.29 ▼21.43 | 60.41 ▲7.91 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.19 ▼0.07 | 101.51 ▼10.16 | 50.39 ▲4.32 |
ミエルカヒートマップ /wp-admin/admin.php?page=mieruca-heatmap-tag-manager | 796 | 2.00 | 25.59 | 50.65 |
設定 /wp-admin/admin.php?page=mieruca-heatmap-tag-manager-config | 874 | 2.02 | 23.84 | 50.18 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% 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 everything seems fine, this is not 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 fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mieruca-heatmap-tag-manager/mieruca-heatmap-tag-manager.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 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
10 plugin tags: mieruca, japanese, mieruca heatmap, analytics, read...
mieruca-heatmap-tag-manager/mieruca-heatmap-tag-manager.php Passed 13 tests
The principal PHP file in "ミエルカヒートマップ タグマネージャー" v. 1.0.0 is loaded by WordPress automatically on each request
43 characters long description:
Mieruca Heatmap のタグを簡単設定!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin156 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 9 | 156 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 11 | |
▷ Static methods | 4 | 36.36% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 12 | 100.00% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin