Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼5.66ms] Passed 4 tests
An overview of server-side resources used by Jalil Toolkit
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 37.48 ▼2.57 |
Dashboard /wp-admin | 3.52 ▲0.21 | 52.83 ▲4.46 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 52.72 ▲3.74 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 88.22 ▼25.32 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 38.12 ▲1.52 |
Add New /wp-admin/post-new.php?post_type=team | 3.50 | 50.20 |
Add New /wp-admin/post-new.php?post_type=slide | 3.56 | 55.52 |
Projects /wp-admin/edit.php?post_type=project | 3.48 | 39.22 |
Add New /wp-admin/post-new.php?post_type=project | 3.56 | 52.29 |
Teams /wp-admin/edit.php?post_type=team | 3.48 | 37.57 |
Testimonials /wp-admin/edit.php?post_type=testimonial | 3.48 | 39.37 |
Slides /wp-admin/edit.php?post_type=slide | 3.48 | 38.07 |
Add New /wp-admin/post-new.php?post_type=testimonial | 3.56 | 47.84 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Jalil Toolkit
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,047 ▲301 | 13.75 ▼0.80 | 12.92 ▲11.38 | 46.81 ▲5.29 |
Dashboard /wp-admin | 2,314 ▲137 | 5.63 ▲0.05 | 92.36 ▲4.37 | 42.30 ▲0.60 |
Posts /wp-admin/edit.php | 2,220 ▲123 | 1.98 ▼0.05 | 39.04 ▼0.78 | 33.66 ▼4.94 |
Add New Post /wp-admin/post-new.php | 1,629 ▲103 | 23.64 ▲0.64 | 700.59 ▲92.96 | 62.27 ▲12.74 |
Media Library /wp-admin/upload.php | 1,522 ▲125 | 4.24 ▲0.06 | 100.27 ▼4.50 | 44.96 ▼1.27 |
Add New /wp-admin/post-new.php?post_type=team | 1,724 | 3.93 | 64.33 | 38.36 |
Add New /wp-admin/post-new.php?post_type=slide | 2,279 | 7.55 | 170.19 | 64.99 |
Projects /wp-admin/edit.php?post_type=project | 1,184 | 1.97 | 33.86 | 29.39 |
Add New /wp-admin/post-new.php?post_type=project | 2,282 | 7.76 | 160.66 | 57.39 |
Teams /wp-admin/edit.php?post_type=team | 1,166 | 2.08 | 33.97 | 31.97 |
Testimonials /wp-admin/edit.php?post_type=testimonial | 1,184 | 1.91 | 33.03 | 33.70 |
Slides /wp-admin/edit.php?post_type=slide | 1,184 | 1.93 | 33.05 | 33.57 |
Add New /wp-admin/post-new.php?post_type=testimonial | 2,284 | 7.66 | 162.48 | 56.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
The following issues need your attention
- 26× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/jalil-toolkit/theme-shortcodes/btn-shortcode.php
- > /wp-content/plugins/jalil-toolkit/theme-shortcodes/post-shortcode.php
- > /wp-content/plugins/jalil-toolkit/theme-shortcodes/service-shortcode.php
- > /wp-content/plugins/jalil-toolkit/kc-addons/kc-team.php
- > /wp-content/plugins/jalil-toolkit/kc-addons/kc-count.php
- > /wp-content/plugins/jalil-toolkit/kc-addons/kc-post.php
- > /wp-content/plugins/jalil-toolkit/theme-shortcodes/project-shortcode.php
- > /wp-content/plugins/jalil-toolkit/theme-shortcodes/pricing-table-shortcode.php
- > /wp-content/plugins/jalil-toolkit/kc-addons/kc-slide.php
- > /wp-content/plugins/jalil-toolkit/theme-shortcodes/testimonial-shortcode.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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
5 plugin tags: jalil-toolkit, jalil-helper-plugin, helper plugin, helper assets, jalil-blog
jalil-toolkit/jalil-toolkit.php Passed 13 tests
The entry point to "Jalil Toolkit" version 1.0.0 is a PHP file that has certain tags in its header comment area
131 characters long description:
jalil Toolkit is a helper plugin for jalil theme.This plugin only used for the jalil theme.It is a required plugin for jalil theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin5,958 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 499 | 103 | 4,318 |
PHP | 27 | 133 | 37 | 1,615 |
JavaScript | 6 | 4 | 30 | 25 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG images were found in this plugin