Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.79ms] Passed 4 tests
An overview of server-side resources used by Qlik for WordPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.08 ▲1.01 |
Dashboard /wp-admin | 3.35 ▲0.05 | 51.91 ▲5.25 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 44.85 ▼0.26 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 87.58 ▼2.65 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.51 ▼1.27 |
Server storage [IO: ▲0.80MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 32 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Qlik for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲87 | 13.27 ▼1.34 | 1.76 ▼0.22 | 45.96 ▲5.00 |
Dashboard /wp-admin | 2,225 ▲36 | 5.84 ▲0.71 | 99.71 ▼10.19 | 74.57 ▲37.27 |
Posts /wp-admin/edit.php | 2,111 ▲19 | 2.02 ▲0.03 | 34.00 ▼0.54 | 34.35 ▲1.59 |
Add New Post /wp-admin/post-new.php | 1,537 ▲3 | 17.79 ▼5.46 | 703.78 ▲23.90 | 53.80 ▼11.69 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.12 ▼0.07 | 93.83 ▼23.43 | 69.92 ▲24.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
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 everything seems fine, this is not an exhaustive test
SRP 50% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/qlikview-syntax-highlighter/qlikview-highlight.php
- > /wp-content/plugins/qlikview-syntax-highlighter/qlik-highlight-admin-icons.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
9 plugin tags: post, syntax, shortcode, page, highlight...
qlikview-syntax-highlighter/qlikview-highlight.php 85% from 13 tests
The principal PHP file in "Qlik for WordPress" v. 2.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 168 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("qlikview-syntax-highlighter.php" instead of "qlikview-highlight.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected3,084 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 1 | 0 | 1,551 |
CSS | 3 | 164 | 73 | 735 |
PHP | 2 | 55 | 98 | 452 |
PO File | 2 | 60 | 60 | 204 |
JavaScript | 8 | 19 | 34 | 142 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.03MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/qlik-code-edit.png | 15.06KB | 0.21KB | ▼ 98.64% |
js/qlik-code.png | 15.20KB | 0.26KB | ▼ 98.32% |
js/qlik.png | 2.15KB | 1.14KB | ▼ 47.07% |