Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▲5.06ms] Passed 4 tests
Analyzing server-side resources used by Hurrakify
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.35 | 100.84 ▲62.69 |
Dashboard /wp-admin | 3.43 ▲0.13 | 44.62 ▼24.66 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 42.53 ▼6.06 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 137.93 ▲50.55 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.12 ▲0.39 |
Server storage [IO: ▲0.11MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 14 new options
New WordPress options |
---|
hurraki_tooltip_key_words_ma |
hurraki_tooltip_key_words_de |
theysaidso_admin_options |
hurraki_tooltip_key_words_last_update_time |
can_compress_scripts |
hurraki_tooltip_max_word |
hurraki_tooltip_key_words_it |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Hurrakify
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲82 | 13.21 ▼0.79 | 3.63 ▲1.70 | 42.26 ▲2.18 |
Dashboard /wp-admin | 2,225 ▲43 | 4.85 ▼0.12 | 94.90 ▼8.00 | 39.01 ▼0.01 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.05 ▲0.05 | 34.17 ▼7.59 | 33.59 ▼1.77 |
Add New Post /wp-admin/post-new.php | 1,546 ▲18 | 23.19 ▲4.92 | 668.21 ▲62.40 | 56.95 ▲0.90 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.24 ▲0.01 | 96.66 ▼5.85 | 43.42 ▼2.20 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
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 no errors were found, this is by no means an exhaustive test
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 fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function delete_option() in wp-content/plugins/hurrakify/uninstall.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hurrakify/hurrakify.php:14
- > PHP Warning
Use of undefined constant WP_UNINSTALL_PLUGIN - assumed 'WP_UNINSTALL_PLUGIN' (this will throw an Error in a future version of PHP) in wp-content/plugins/hurrakify/uninstall.php on line 3
- > 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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: You are using too many tags: 14 tag instead of maximum 10
- Screenshots: Please add descriptions for these screenshots #0, #0 in hurrakify/assets to your readme.txt
hurrakify/hurrakify.php 92% from 13 tests
The main PHP file in "Hurrakify" ver. 2.3 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 154 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected1,673 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 246 | 194 | 923 |
PHP | 4 | 67 | 10 | 248 |
CSS | 1 | 24 | 9 | 241 |
PO File | 5 | 55 | 55 | 241 |
Markdown | 1 | 16 | 0 | 20 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 14 | |
▷ Named functions | 14 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected