Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.55ms] Passed 4 tests
This is a short check of server-side resources used by PUZZLER is JS + CSS combine
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 26.76 ▼8.92 |
Dashboard /wp-admin | 3.40 ▲0.10 | 48.48 ▲2.84 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 46.69 ▼1.43 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 83.65 ▼6.11 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.22 ▲2.26 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
It is recommended to fix the following issues
- There were 3 files (159.05KB) illegally modified outside of "wp-content/plugins/puzzler/" and "wp-content/uploads/"
- (new file) wp-content/cache/all-footer.js
- (new file) wp-content/cache/all-header.css
- (new file) wp-content/cache/all-header.js
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
puzzler_settings |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
PUZZLER is JS + CSS combine: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲105 | 13.31 ▼1.07 | 6.26 ▲4.53 | 52.71 ▲11.31 |
Dashboard /wp-admin | 2,222 ▲31 | 4.89 ▼0.93 | 101.54 ▲4.17 | 42.03 ▼2.55 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.03 ▲0.05 | 35.78 ▼0.03 | 33.97 ▲2.00 |
Add New Post /wp-admin/post-new.php | 1,541 ▲27 | 23.32 ▲5.83 | 674.20 ▼5.36 | 51.78 ▼11.60 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.20 ▲0.04 | 103.51 ▲3.90 | 46.65 ▲2.52 |
Uninstaller [IO: ▲0.16MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- puzzler_settings
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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 take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Scripts' not found in wp-content/plugins/puzzler/classes-puzzler.php:276
- > PHP Fatal error
Uncaught Error: Class 'WP_Scripts' not found in wp-content/plugins/puzzler/classes-puzzler.php:276
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% 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
These attributes need to be fixed:
- Tags: There are too many tags (26 tag instead of maximum 10)
puzzler/puzzler.php Passed 13 tests
"PUZZLER is JS + CSS combine" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
81 characters long description:
Smart simple auto aggregator CSS and JS scripts for more fast load pages of site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin506 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 246 | 201 | 506 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 32.33 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 4.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 20.83% |
▷ Protected methods | 16 | 66.67% |
▷ Private methods | 3 | 12.50% |
Functions | 15 | |
▷ Named functions | 15 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin