Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼6.75ms] Passed 4 tests
Server-side resources used by Qreuz
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 39.53 ▼1.64 |
Dashboard /wp-admin | 3.55 ▲0.20 | 50.21 ▼11.33 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 57.87 ▲11.62 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 88.31 ▼19.95 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 40.51 ▲5.92 |
Website monitoring /wp-admin/admin.php?page=qreuz&subpage=tracking | 3.44 | 40.53 |
Get started /wp-admin/admin.php?page=qreuz | 3.44 | 34.49 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 56 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_qreuz_smart_pricing_prices |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
qreuz_db_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Qreuz
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲201 | 14.07 ▼0.31 | 1.56 ▼0.23 | 29.75 ▼14.35 |
Dashboard /wp-admin | 2,356 ▲168 | 5.32 ▼0.50 | 116.58 ▲14.24 | 41.19 ▲0.43 |
Posts /wp-admin/edit.php | 2,166 ▲77 | 2.43 ▲0.43 | 40.64 ▲0.96 | 34.85 ▼3.76 |
Add New Post /wp-admin/post-new.php | 1,543 ▲10 | 23.27 ▼0.06 | 677.59 ▲13.90 | 64.04 ▲9.76 |
Media Library /wp-admin/upload.php | 1,466 ▲78 | 4.64 ▲0.47 | 109.13 ▲7.49 | 45.45 ▲0.36 |
Website monitoring /wp-admin/admin.php?page=qreuz&subpage=tracking | 1,180 | 5.27 | 117.99 | 85.64 |
Get started /wp-admin/admin.php?page=qreuz | 1,181 | 5.37 | 102.74 | 53.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_qreuz_smart_pricing_prices
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- qreuz_db_version
Smoke tests Passed 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)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
qreuz/qreuz.php 92% from 13 tests
"Qreuz" version 0.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 186 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin1,457 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 535 | 867 | 1,391 |
JavaScript | 33 | 15 | 42 | 65 |
CSS | 2 | 4 | 13 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 3.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 27 | 38.03% |
▷ Public methods | 48 | 67.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 23 | 32.39% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
PNG images were not found in this plugin