Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.46MB] [CPU: ▼3.02ms] Passed 4 tests
An overview of server-side resources used by Extendify — Gutenberg Patterns and Templates
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.48 | 42.90 ▲2.55 |
Dashboard /wp-admin | 3.80 ▲0.45 | 51.60 ▼11.55 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 54.59 ▲8.42 |
Add New Post /wp-admin/post-new.php | 6.45 ▲0.56 | 90.73 ▼4.16 |
Media Library /wp-admin/upload.php | 3.66 ▲0.42 | 38.90 ▲1.09 |
Library /wp-admin/admin.php?page=extendify-welcome | 3.62 | 33.32 |
Assist /wp-admin/admin.php?page=extendify-assist | 3.62 | 33.66 |
Extendify /wp-admin/admin.php?page=extendify-admin-page | 2.46 | 8.71 |
Server storage [IO: ▲6.53MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 527 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
extendify_first_installed_version |
widget_recent-comments |
extendify_site_id |
Browser metrics Passed 4 tests
A check of browser resources used by Extendify — Gutenberg Patterns and Templates
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲101 | 14.67 ▲0.35 | 1.55 ▼0.08 | 37.36 ▼1.51 |
Dashboard /wp-admin | 2,245 ▲68 | 5.60 ▼0.03 | 95.61 ▲5.85 | 43.00 ▲6.82 |
Posts /wp-admin/edit.php | 2,147 ▲44 | 1.99 ▼0.01 | 39.15 ▲1.93 | 34.56 ▲2.50 |
Add New Post /wp-admin/post-new.php | 1,572 ▲46 | 23.57 ▲0.07 | 691.59 ▲55.58 | 67.37 ▲20.70 |
Media Library /wp-admin/upload.php | 1,447 ▲47 | 4.30 ▲0.11 | 99.21 ▼2.25 | 40.57 ▼2.67 |
Library /wp-admin/admin.php?page=extendify-welcome | 903 | 2.14 | 33.78 | 35.06 |
Assist /wp-admin/admin.php?page=extendify-assist | 799 | 2.20 | 23.32 | 21.86 |
Extendify /wp-admin/admin.php?page=extendify-admin-page | 908 | 2.14 | 23.84 | 29.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- extendify_site_id
- theysaidso_admin_options
- extendify_first_installed_version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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
Almost there! Just fix the following items
- 19× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/extendify/app/Assist/Controllers/QuickLinksController.php
- > /wp-content/plugins/extendify/routes/api.php
- > /wp-content/plugins/extendify/app/Launch/Controllers/UserSelectionController.php
- > /wp-content/plugins/extendify/app/Assist/Controllers/SupportArticlesController.php
- > /wp-content/plugins/extendify/app/Assist/Controllers/GlobalsController.php
- > /wp-content/plugins/extendify/app/Chat/Controllers/ChatController.php
- > /wp-content/plugins/extendify/app/Assist/Controllers/RecommendationsController.php
- > /wp-content/plugins/extendify/app/Draft/Controllers/DraftController.php
- > /wp-content/plugins/extendify/app/Launch/Controllers/DataController.php
- > /wp-content/plugins/extendify/app/Launch/Controllers/WPController.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/extendify/app/ApiRouter.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
extendify/extendify.php 85% from 13 tests
This is the main PHP file of "Extendify — Gutenberg Patterns and Templates" version 1.11.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 200 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin29,772 lines of code in 476 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 22 | 6,886 | 12,848 | 14,082 |
JSX | 144 | 549 | 117 | 7,298 |
JavaScript | 87 | 304 | 204 | 4,484 |
PHP | 51 | 638 | 1,462 | 2,956 |
CSS | 14 | 124 | 14 | 738 |
JSON | 158 | 3 | 0 | 214 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 9.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 39 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 39 | 100.00% |
▷ Final classes | 1 | 2.56% |
Methods | 155 | |
▷ Static methods | 56 | 36.13% |
▷ Public methods | 134 | 86.45% |
▷ Protected methods | 12 | 7.74% |
▷ Private methods | 9 | 5.81% |
Functions | 40 | |
▷ Named functions | 1 | 2.50% |
▷ Anonymous functions | 39 | 97.50% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.43MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/assets/preview.png | 7.85KB | 8.61KB | 0.00% |
public/assets/logo-tips.png | 2.53KB | 1.39KB | ▼ 45.01% |
public/assets/wp-admin.png | 209.73KB | 62.09KB | ▼ 70.39% |
public/assets/pro-image.png | 20.39KB | 10.10KB | ▼ 50.46% |
public/assets/modal-extendify-purple.png | 20.35KB | 9.76KB | ▼ 52.03% |