Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.23ms] Passed 4 tests
This is a short check of server-side resources used by IntelliWidget Per Page Custom Menus and Dynamic Content
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 48.90 ▲7.44 |
Dashboard /wp-admin | 3.37 ▲0.07 | 48.38 ▼10.75 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 49.62 ▲0.11 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 104.09 ▲1.89 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 36.30 ▼0.15 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 53 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_intelliwidget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for IntelliWidget Per Page Custom Menus and Dynamic Content
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.72 ▲0.09 | 1.85 ▲0.32 | 44.01 ▲0.58 |
Dashboard /wp-admin | 2,198 ▲18 | 5.65 ▼0.02 | 93.61 ▲6.72 | 39.35 ▼4.38 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.00 ▼0.03 | 40.01 ▼0.12 | 34.95 ▼1.53 |
Add New Post /wp-admin/post-new.php | 6,665 ▲5,134 | 25.60 ▲2.34 | 866.86 ▲220.26 | 70.68 ▲26.47 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.26 ▲0.06 | 101.77 ▼1.88 | 43.93 ▲0.09 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_intelliwidget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
intelliwidget-per-page-featured-posts-and-menus/intelliwidget.php 85% from 13 tests
"IntelliWidget Per Page Custom Menus and Dynamic Content" version 2.3.9.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("intelliwidget-per-page-featured-posts-and-menus.php" instead of "intelliwidget.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected5,610 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 285 | 853 | 3,190 |
PO File | 2 | 289 | 316 | 1,078 |
JavaScript | 2 | 114 | 209 | 916 |
CSS | 3 | 65 | 48 | 426 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 43.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 135.00 |
Average method complexity | 4.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 151 | |
▷ Static methods | 5 | 3.31% |
▷ Public methods | 151 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/switch.png | 0.38KB | 0.21KB | ▼ 45.64% |