Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/hatena-connect/hatena-connect.php+35
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.02ms] Passed 4 tests
An overview of server-side resources used by Hatena Connect
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.73 ▲1.90 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.44 ▲0.55 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.43 ▼5.82 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 85.80 ▼7.16 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.78 ▲0.35 |
Hatena Connect /wp-admin/options-general.php?page=hatena-connect | 3.20 | 33.24 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
hatena_connect |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Hatena Connect
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.33 ▼0.46 | 2.11 ▲0.11 | 44.18 ▲0.29 |
Dashboard /wp-admin | 2,199 ▲25 | 5.52 ▼0.04 | 86.38 ▲0.98 | 38.53 ▼1.53 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.98 ▲0.02 | 34.88 ▼3.56 | 34.56 ▼0.38 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 18.15 ▼4.90 | 637.57 ▼23.17 | 53.23 ▼25.42 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.10 ▼0.13 | 101.52 ▼14.16 | 41.43 ▼8.32 |
Hatena Connect /wp-admin/options-general.php?page=hatena-connect | 825 | 2.03 | 23.33 | 30.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- This plugin cannot be uninstalled
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method hatena_connect::hc_uninstall_hook() should not be called statically
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/hatena-connect/hatena-connect.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: bookmark, hatena, notifications
hatena-connect/hatena-connect.php Passed 13 tests
"Hatena Connect" version 1.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
78 characters long description:
Connect Hatena with your wordpress blog to get notifications on Hatena notify.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin196 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 2 | 26 | 28 | 104 |
PHP | 1 | 21 | 33 | 92 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 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 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin