Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼141.54ms] Passed 4 tests
Server-side resources used by Jituzu Tools
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.17 | 38.51 ▲15.83 |
Dashboard /wp-admin | 3.12 ▲0.06 | 46.27 ▲0.18 |
Posts /wp-admin/edit.php | 3.20 ▲0.09 | 42.84 ▼5.59 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 91.42 ▼565.48 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 36.46 ▲4.75 |
Template Tags /wp-admin/admin.php?page=jtools-templatetags | 3.03 | 21.93 |
Shortcode /wp-admin/admin.php?page=jtools-shortcode | 3.01 | 40.21 |
Jituzu Tools /wp-admin/admin.php?page=jtools | 3.03 | 29.59 |
Settings /wp-admin/admin.php?page=jtools-config | 3.03 | 29.27 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 1 new option
New WordPress options |
---|
jtools_settings |
Browser metrics Passed 4 tests
Checking browser requirements for Jituzu Tools
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,770 ▲174 | 16.62 ▲1.09 | 7.52 ▼2.24 | 51.85 ▲0.17 |
Dashboard /wp-admin | 3,024 ▲87 | 6.56 ▲0.57 | 143.16 ▼13.94 | 130.69 ▲11.81 |
Posts /wp-admin/edit.php | 2,818 ▲79 | 2.77 ▲0.07 | 70.85 ▼3.87 | 147.11 ▲53.66 |
Add New Post /wp-admin/post-new.php | 1,630 ▲26 | 20.79 ▲1.98 | 392.77 ▲20.90 | 118.43 ▲3.94 |
Media Library /wp-admin/upload.php | 1,816 ▲9 | 5.40 ▲0.38 | 124.79 ▼25.99 | 138.82 ▲14.84 |
Template Tags /wp-admin/admin.php?page=jtools-templatetags | 1,413 | 2.59 | 56.61 | 138.89 |
Shortcode /wp-admin/admin.php?page=jtools-shortcode | 1,135 | 2.56 | 71.63 | 80.35 |
Jituzu Tools /wp-admin/admin.php?page=jtools | 1,193 | 2.58 | 58.97 | 93.60 |
Settings /wp-admin/admin.php?page=jtools-config | 1,915 | 3.11 | 90.31 | 100.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 1 option
- jtools_settings
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=jtools-shortcode
- > Warning in wp-content/plugins/jituzu-tools/functions/shortcode.php+5
Illegal string offset 'echo'
- > GET request to /wp-admin/admin.php?page=jtools-shortcode
- > Warning in wp-content/plugins/jituzu-tools/functions/shortcode.php+5
Cannot assign an empty string to a string offset
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/jituzu-tools/functions/shortcode.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/jituzu-tools/functions/shortcode.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=jtools
- > Network (severe)
https://player.vimeo.com/video/92200813 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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:
- Screenshots: Please describe screenshot #5 in jituzu-tools/assets to your readme.txt
jituzu-tools/jituzu-tools.php Passed 13 tests
The primary PHP file in "Jituzu Tools" version 1.3.3 is used by WordPress to initiate all plugin functionality
72 characters long description:
Embed Jituzu into your WordPress site with template tags and shortcodes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin604 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 52 | 17 | 494 |
CSS | 2 | 7 | 0 | 107 |
JavaScript | 1 | 2 | 0 | 3 |
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.35 |
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 | 12 | |
▷ Named functions | 12 | 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
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo-jituzu.png | 6.23KB | 3.20KB | ▼ 48.58% |
images/icon-jtools@16.png | 1.44KB | 0.73KB | ▼ 49.66% |
images/icon-jtools@64.png | 3.52KB | 1.97KB | ▼ 43.97% |