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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲5.47MB] [CPU: ▲27.57ms] 75% from 4 tests
An overview of server-side resources used by Qyrr - simply and modern QR-Code creation
Please take the time to fix the following items
- Extra RAM: The extra memory usage must be under 5MB (currently 5.47MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.24 ▲5.78 | 70.19 ▲27.81 |
Dashboard /wp-admin | 9.26 ▲5.91 | 74.29 ▲12.22 |
Posts /wp-admin/edit.php | 9.26 ▲5.90 | 81.02 ▲31.13 |
Add New Post /wp-admin/post-new.php | 10.19 ▲4.30 | 140.43 ▲39.58 |
Media Library /wp-admin/upload.php | 9.26 ▲6.03 | 71.73 ▲39.12 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 9.26 | 59.84 |
Server storage [IO: ▲3.29MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 207 new files
Database: no new tables, 9 new options
New WordPress options |
---|
fs_debug_mode |
can_compress_scripts |
widget_recent-posts |
fs_active_plugins |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
fs_accounts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Qyrr - simply and modern QR-Code creation
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,975 ▲213 | 14.27 ▼0.11 | 1.68 ▼0.06 | 31.79 ▼13.78 |
Dashboard /wp-admin | 2,362 ▲185 | 5.52 ▼0.10 | 87.72 ▼7.01 | 76.67 ▲28.62 |
Posts /wp-admin/edit.php | 2,283 ▲183 | 1.96 ▲0.01 | 38.95 ▲2.04 | 36.42 ▲0.51 |
Add New Post /wp-admin/post-new.php | 6,536 ▲5,010 | 27.68 ▲4.67 | 880.78 ▲212.70 | 35.95 ▼20.86 |
Media Library /wp-admin/upload.php | 1,582 ▲185 | 4.23 ▲0.04 | 98.89 ▼9.93 | 79.11 ▲35.13 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,237 | 1.66 | 30.36 | 29.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/qyrr-code/inc/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 9 options in the database
- can_compress_scripts
- fs_debug_mode
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- fs_active_plugins
- db_upgraded
- widget_recent-posts
- fs_accounts
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/qyrr-code/qyrr-code.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #2, #3 in qyrr-code/assets to your readme.txt
qyrr-code/qyrr-code.php Passed 13 tests
This is the main PHP file of "Qyrr - simply and modern QR-Code creation" version 1.5.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
60 characters long description:
QR-Code generation, management and tracking as it should be.
Code Analysis 97% from 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
There were no executable files found in this plugin36,302 lines of code in 162 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 129 | 8,174 | 17,527 | 34,151 |
JSON | 5 | 0 | 0 | 1,382 |
PO File | 1 | 152 | 169 | 369 |
JavaScript | 7 | 35 | 59 | 205 |
SVG | 3 | 0 | 0 | 177 |
CSS | 16 | 1 | 0 | 15 |
Markdown | 1 | 2 | 0 | 3 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
These items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 78.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 57 | |
▷ Abstract classes | 2 | 3.51% |
▷ Concrete classes | 55 | 96.49% |
▷ Final classes | 0 | 0.00% |
Methods | 1,313 | |
▷ Static methods | 205 | 15.61% |
▷ Public methods | 913 | 69.54% |
▷ Protected methods | 17 | 1.29% |
▷ Private methods | 383 | 29.17% |
Functions | 115 | |
▷ Named functions | 110 | 95.65% |
▷ Anonymous functions | 5 | 4.35% |
Constants | 148 | |
▷ Global constants | 101 | 68.24% |
▷ Class constants | 47 | 31.76% |
▷ Public constants | 47 | 100.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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
inc/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |