Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲3.79MB] [CPU: ▲51.39ms] Passed 4 tests
This is a short check of server-side resources used by Powerkit – Supercharge your WordPress Site
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.27 ▲3.80 | 98.55 ▲58.32 |
Dashboard /wp-admin | 7.11 ▲3.80 | 104.14 ▲43.43 |
Posts /wp-admin/edit.php | 7.16 ▲3.80 | 98.32 ▲48.72 |
Add New Post /wp-admin/post-new.php | 10.09 ▲4.20 | 155.11 ▲62.17 |
Media Library /wp-admin/upload.php | 6.98 ▲3.75 | 92.66 ▲55.10 |
Table of Contents /wp-admin/options-general.php?page=powerkit_table_of_contents | 6.95 | 83.14 |
Opt-in Forms /wp-admin/options-general.php?page=powerkit_opt_in_forms | 6.95 | 77.33 |
Social Links /wp-admin/options-general.php?page=powerkit_social_links | 7.06 | 241.03 |
Connect /wp-admin/options-general.php?page=powerkit_connect | 6.98 | 82.68 |
Post Views /wp-admin/options-general.php?page=powerkit_post_views | 6.94 | 89.94 |
Coming Soon /wp-admin/options-general.php?page=powerkit_coming_soon | 6.97 | 86.00 |
Share Buttons /wp-admin/options-general.php?page=powerkit_share_buttons | 6.96 | 87.01 |
Server storage [IO: ▲2.38MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 303 new files
Database: 1 new table, 22 new options
New tables |
---|
wp_pk_post_views |
New WordPress options |
---|
can_compress_scripts |
powerkit_coming_soon_page |
widget_powerkit_pinterest_board_widget |
widget_powerkit_widget_author |
widget_powerkit_widget_posts |
widget_powerkit_widget_contributors |
widget_powerkit_facebook_fanpage_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Powerkit – Supercharge your WordPress Site: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,109 ▲374 | 16.70 ▲2.49 | 62.01 ▲59.81 | 43.23 ▼3.05 |
Dashboard /wp-admin | 2,303 ▲115 | 5.15 ▼0.75 | 130.37 ▲22.61 | 47.64 ▲6.95 |
Posts /wp-admin/edit.php | 2,197 ▲108 | 2.35 ▲0.31 | 39.07 ▲0.86 | 34.92 ▼0.62 |
Add New Post /wp-admin/post-new.php | 6,370 ▲4,837 | 24.53 ▲1.39 | 1,074.64 ▲395.11 | 36.15 ▼6.50 |
Media Library /wp-admin/upload.php | 1,499 ▲111 | 4.53 ▲0.30 | 113.89 ▼1.57 | 46.64 ▼0.76 |
Table of Contents /wp-admin/options-general.php?page=powerkit_table_of_contents | 1,055 | 2.10 | 28.89 | 25.36 |
Opt-in Forms /wp-admin/options-general.php?page=powerkit_opt_in_forms | 986 | 2.13 | 35.69 | 31.03 |
Social Links /wp-admin/options-general.php?page=powerkit_social_links | 5,285 | 2.40 | 94.71 | 82.25 |
Connect /wp-admin/options-general.php?page=powerkit_connect | 1,090 | 2.29 | 37.56 | 31.83 |
Post Views /wp-admin/options-general.php?page=powerkit_post_views | 956 | 2.05 | 34.88 | 35.00 |
Coming Soon /wp-admin/options-general.php?page=powerkit_coming_soon | 1,012 | 2.14 | 37.76 | 29.67 |
Share Buttons /wp-admin/options-general.php?page=powerkit_share_buttons | 1,487 | 2.35 | 44.62 | 39.77 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 22 options in the database
- db_upgraded
- widget_powerkit_twitter_widget
- widget_powerkit_pinterest_profile_widget
- widget_theysaidso_widget
- widget_recent-posts
- powerkit_coming_soon_page
- widget_powerkit_widget_author
- widget_powerkit_facebook_fanpage_widget
- powerkit_coming_soon_init
- widget_powerkit_widget_contributors
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 77 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=powerkit_share_buttons
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+221
Trying to get property 'ID' of non-object
- 19 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=powerkit_share_buttons
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+222
Trying to get property 'post_title' of non-object
- 19 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=powerkit_share_buttons
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+204
Undefined offset: 0
- 19 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=powerkit_share_buttons
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+205
Trying to get property 'guid' of non-object
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/powerkit/powerkit.php
- 197× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: attributes in wp-content/plugins/powerkit/modules/featured-categories/public/block/render.php on line 17
- > PHP Notice
Undefined variable: attributes in wp-content/plugins/powerkit/modules/author-box/public/block/render.php on line 17
- > PHP Fatal error
Uncaught Error: Class 'Powerkit_Module_Public' not found in wp-content/plugins/powerkit/modules/pinterest/public/class-powerkit-pinterest-public.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/powerkit/modules/post-views/helpers/db-powerkit-post-views.php:15
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/powerkit/modules/contributors/public/block/render.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function powerkit_connect() in wp-content/plugins/powerkit/extensions/connect/tab-instagram.php:9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/powerkit/modules/featured-categories/public/block/render.php on line 16
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/powerkit/modules/instagram/public/block/render.php on line 19
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/powerkit/modules/author-box/public/block/render.php on line 21
- > PHP Notice
Undefined variable: attributes in wp-content/plugins/powerkit/modules/featured-categories/public/block/render.php on line 19
- > PHP Notice
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: lightbox, gallery, pinterest, share buttons, social links...
powerkit/powerkit.php Passed 13 tests
The entry point to "Powerkit – Supercharge your WordPress Site" version 2.9.0 is a PHP file that has certain tags in its header comment area
59 characters long description:
Powerkit – essential components for every WordPress site.
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
Good job! No executable or dangerous file extensions detected37,746 lines of code in 294 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 196 | 4,415 | 7,307 | 18,081 |
CSS | 57 | 4,007 | 535 | 17,870 |
JavaScript | 31 | 427 | 321 | 1,296 |
JSX | 7 | 82 | 90 | 385 |
SVG | 1 | 0 | 0 | 108 |
XML | 1 | 0 | 0 | 5 |
JSON | 1 | 0 | 0 | 1 |
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.36 |
Average class complexity | 11.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 122 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 122 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 552 | |
▷ Static methods | 1 | 0.18% |
▷ Public methods | 536 | 97.10% |
▷ Protected methods | 10 | 1.81% |
▷ Private methods | 6 | 1.09% |
Functions | 250 | |
▷ Named functions | 215 | 86.00% |
▷ Anonymous functions | 35 | 14.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
modules/basic-elements/admin/images/icon.png | 3.81KB | 0.14KB | ▼ 96.39% |