Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.26MB] [CPU: ▲3.26ms] Passed 4 tests
Server-side resources used by Pixelgrade Assistant
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.13 ▲1.67 | 52.41 ▲11.02 |
Dashboard /wp-admin | 5.31 ▲1.97 | 72.64 ▲4.28 |
Posts /wp-admin/edit.php | 5.32 ▲1.96 | 67.60 ▲11.81 |
Add New Post /wp-admin/post-new.php | 5.37 ▼0.51 | 85.21 ▼14.08 |
Media Library /wp-admin/upload.php | 5.16 ▲1.93 | 66.17 ▲28.93 |
/wp-admin/admin.php?page=pixelgrade_assistant-setup-wizard | 5.01 | 54.11 |
Dashboard /wp-admin/admin.php?page=pixelgrade_assistant | 5.08 | 63.46 |
Server storage [IO: ▲8.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 125 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
pixassist_options |
widget_theysaidso_widget |
pixelgrade_assistant_version |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Pixelgrade Assistant
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,020 ▲234 | 22.58 ▲7.97 | 1.76 ▼0.41 | 33.28 ▼10.24 |
Dashboard /wp-admin | 2,386 ▲180 | 10.55 ▲5.66 | 271.37 ▲163.77 | 83.42 ▲44.63 |
Posts /wp-admin/edit.php | 2,274 ▲174 | 7.41 ▲5.41 | 95.81 ▲54.58 | 83.29 ▲43.96 |
Add New Post /wp-admin/post-new.php | 3,335 ▲1,801 | 13.49 ▼9.99 | 250.59 ▼386.74 | 147.09 ▲85.53 |
Media Library /wp-admin/upload.php | 1,546 ▲146 | 10.02 ▲5.83 | 153.21 ▲38.54 | 96.57 ▲46.22 |
/wp-admin/admin.php?page=pixelgrade_assistant-setup-wizard | 201 | 3.42 | 100.33 | 12.11 |
Dashboard /wp-admin/admin.php?page=pixelgrade_assistant | 838 | 7.47 | 205.50 | 72.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Error in wp-content/plugins/pixelgrade-assistant/includes/modules/conditional-updates/class-pixelgrade_assistant-conditional-updates.php+408
Uncaught Error: Class 'Composer\Semver\VersionParser' not found in wp-content/plugins/pixelgrade-assistant/includes/modules/conditional-updates/class-pixelgrade_assistant-conditional-updates.php:408
Stack trace:
#0 wp-content/plugins/pixelgrade-assistant/includes/modules/conditional-updates/class-pixelgrade_assistant-conditional-updates.php(201): PixelgradeAssistant_Conditional_Updates->get_target_plugins_version_ranges()
#1 wp-includes/class-wp-hook.php(312): PixelgradeAssistant_Conditional_Updates->handle_transient_update_plugins()
#2 wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 wp-includes/option.php(2053): apply_filters()
#4 wp-admin/includes/plugin.php(1031): set_site_transient() - This plugin did not uninstall successfully, leaving 9 options in the database
- pixassist_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- recovery_mode_email_last_sent
- pixelgrade_assistant_version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/pixelgrade-assistant/vendor/classic-editor/classic-editor.php
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pixelgrade-assistant/includes/theme-helpers/jetpack-fallbacks/genericons.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Composer\\Semver\\Constraint\\ConstraintInterface' not found in wp-content/plugins/pixelgrade-assistant/vendor/composer/semver/src/Constraint/Constraint.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/pixelgrade-assistant/admin/required-plugins/class-tgm-plugin-activation.php:2047
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pixelgrade-assistant/includes/theme-helpers/jetpack-fallbacks/social-menu/icon-functions.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Composer\\Semver\\Constraint\\ConstraintInterface' not found in wp-content/plugins/pixelgrade-assistant/vendor/composer/semver/src/Constraint/MatchNoneConstraint.php:17
- > PHP Fatal error
Uncaught Error: Interface 'Composer\\Semver\\Constraint\\ConstraintInterface' not found in wp-content/plugins/pixelgrade-assistant/vendor/composer/semver/src/Constraint/MultiConstraint.php:17
- > PHP Fatal error
Uncaught Error: Interface 'Composer\\Semver\\Constraint\\ConstraintInterface' not found in wp-content/plugins/pixelgrade-assistant/vendor/composer/semver/src/Constraint/MatchAllConstraint.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: pixelgrade, interactive, demo-data, support, documentation...
pixelgrade-assistant/pixelgrade-assistant.php 92% from 13 tests
The principal PHP file in "Pixelgrade Assistant" v. 1.4.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin95,962 lines of code in 108 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 14 | 16,712 | 19,953 | 81,103 |
PHP | 58 | 3,068 | 6,018 | 12,338 |
Markdown | 5 | 319 | 0 | 945 |
CSS | 12 | 106 | 82 | 730 |
SVG | 15 | 0 | 3 | 684 |
JSON | 3 | 0 | 0 | 154 |
Sass | 1 | 8 | 0 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 47.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 306.00 |
Average method complexity | 4.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 42 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 42 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 625 | |
▷ Static methods | 183 | 29.28% |
▷ Public methods | 534 | 85.44% |
▷ Protected methods | 41 | 6.56% |
▷ Private methods | 50 | 8.00% |
Functions | 48 | |
▷ Named functions | 40 | 83.33% |
▷ Anonymous functions | 8 | 16.67% |
Constants | 42 | |
▷ Global constants | 7 | 16.67% |
▷ Class constants | 35 | 83.33% |
▷ Public constants | 35 | 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
No PNG files were detected