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.15MB] [CPU: ▼19.79ms] Passed 4 tests
Analyzing server-side resources used by Highlight Bookmark Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 40.33 ▼8.02 |
Dashboard /wp-admin | 3.23 ▼0.12 | 30.91 ▼28.32 |
Posts /wp-admin/edit.php | 3.30 ▼0.06 | 33.45 ▼13.31 |
Add New Post /wp-admin/post-new.php | 5.47 ▼0.42 | 68.51 ▼29.52 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 31.97 ▼2.95 |
Highlight Bookmark Manager /wp-admin/options-general.php?page=highlight_bookmark_manager | 3.21 | 31.31 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
highlight_bookmark_manager_settings |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Highlight Bookmark Manager: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 13.20 ▼1.19 | 1.75 ▲0.01 | 45.51 ▲3.10 |
Dashboard /wp-admin | 2,218 ▲27 | 4.87 ▼0.18 | 113.85 ▲9.60 | 42.09 ▲1.87 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.03 ▲0.04 | 34.66 ▼5.85 | 35.88 ▲0.45 |
Add New Post /wp-admin/post-new.php | 1,595 ▲53 | 22.55 ▲4.26 | 593.58 ▼47.90 | 40.68 ▼14.46 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.22 ▼0.09 | 111.96 ▲12.81 | 45.60 ▲0.71 |
Highlight Bookmark Manager /wp-admin/options-general.php?page=highlight_bookmark_manager | 904 | 2.06 | 27.77 | 39.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- highlight_bookmark_manager_settings
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=highlight_bookmark_manager
- > User deprecated in wp-includes/functions.php+5737
Function get_bloginfo was called with an argument that is deprecated since version 2.2.0! The siteurl option is deprecated for the family of bloginfo() functions. Use the url option instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=highlight_bookmark_manager
- > Warning in wp-content/plugins/highlight-bookmark-manager/highlight_bookmark_manager.php+126
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=highlight_bookmark_manager
- > Warning in wp-content/plugins/highlight-bookmark-manager/highlight_bookmark_manager.php+126
file_get_contents(http://manager.hilight.cc/api/wp_plugin/status?website_domain=wp.com): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=highlight_bookmark_manager
- > Notice in wp-content/plugins/highlight-bookmark-manager/highlight_bookmark_manager.php+100
Trying to access array offset on value of type null
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/highlight-bookmark-manager/highlight_bookmark_manager.php:18
- > PHP Fatal error
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)
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=highlight_bookmark_manager
- > Network (severe)
http://www.hilight.cc/assets/images/wp_icon_128x128.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Requires at least: Invalid plugin version format
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== highlight-bookmark-manager ===
) - Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
highlight-bookmark-manager/highlight_bookmark_manager.php 92% from 13 tests
The primary PHP file in "Highlight Bookmark Manager" version 1.11.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("highlight-bookmark-manager.php" instead of "highlight_bookmark_manager.php")
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
Success! There were no dangerous files found in this plugin313 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 18 | 35 | 236 |
CSS | 1 | 11 | 8 | 77 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
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 | 8 | |
▷ Named functions | 8 | 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
There were not PNG files found in your plugin