Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method QutenizeRInit::on_activate() should not be called statically
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.05ms] Passed 4 tests
An overview of server-side resources used by QutenizeR
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.46 ▼4.45 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.01 ▲0.36 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.74 ▲0.44 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 99.70 ▼0.55 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.18 ▲0.97 |
QutenizeR /wp-admin/options-general.php?page=qutenizer-options | 3.29 | 32.03 |
Server storage [IO: ▲0.56MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 13 new options
New WordPress options |
---|
qutenizer_version |
qutenizer_shape |
qutenizer_color_three |
theysaidso_admin_options |
widget_recent-comments |
qutenizer_color_one |
can_compress_scripts |
qutenizer_color_two |
widget_theysaidso_widget |
qutenizer_color_type |
... |
Browser metrics Passed 4 tests
Checking browser requirements for QutenizeR
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.27 ▼1.46 | 4.53 ▲2.79 | 43.26 ▲2.36 |
Dashboard /wp-admin | 2,210 ▲19 | 4.87 ▲0.01 | 111.84 ▲6.72 | 44.85 ▲0.42 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▼0.13 | 40.37 ▼0.10 | 35.87 ▲0.56 |
Add New Post /wp-admin/post-new.php | 1,519 ▼9 | 17.48 ▼0.73 | 595.16 ▼28.43 | 45.79 ▼19.16 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.40 ▲0.23 | 101.92 ▲4.49 | 43.05 ▼0.75 |
QutenizeR /wp-admin/options-general.php?page=qutenizer-options | 914 | 1.77 | 27.94 | 38.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method QutenizeRInit::on_deactivate() should not be called statically
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/qutenizer/qutenizer.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/qutenizer/qutenizer_admin.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (Overview of Add New Post edit page with 'Generate from Post' option enabled), #2 (Overview of the Media Library after generating some image codes from Hello World! post), #3 (Editing the Hello World! post after importing images from the Media Library), #4 (Overview of QutenizeR manager, under Settings menu)
qutenizer/qutenizer.php Passed 13 tests
The primary PHP file in "QutenizeR" version 0.2.0 is used by WordPress to initiate all plugin functionality
86 characters long description:
QutenizeR plugin for WordPress is a funny way to easy create cute & colorful QR codes.
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 plugin1,478 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 180 | 39 | 965 |
PHP | 5 | 318 | 88 | 513 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.50MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 91.10KB | 35.76KB | ▼ 60.75% |
jscolor/hs.png | 2.62KB | 7.54KB | 0.00% |
screenshot-3.png | 184.00KB | 73.94KB | ▼ 59.81% |
screenshot-4.png | 92.88KB | 36.38KB | ▼ 60.83% |
screenshot-2.png | 83.54KB | 34.29KB | ▼ 58.96% |