Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.94ms] Passed 4 tests
This is a short check of server-side resources used by Extension pack for Avalon23
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.59 ▲3.23 |
Dashboard /wp-admin | 3.33 ▼0.01 | 43.73 ▼17.22 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 44.00 ▼1.85 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 81.20 ▼10.61 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.43 ▲1.94 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Extension pack for Avalon23: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.09 ▲0.83 | 1.72 ▼2.47 | 39.98 ▼1.93 |
Dashboard /wp-admin | 2,198 ▲27 | 5.63 ▲0.03 | 85.11 ▼2.17 | 37.28 ▼4.34 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.01 | 33.64 ▼5.63 | 33.64 ▲1.68 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.34 ▲0.25 | 662.68 ▼21.83 | 53.09 ▼4.55 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.15 ▼0.01 | 96.10 ▼1.96 | 41.25 ▼2.94 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: extension, products filter, avalon23, products, extension pack...
avalon23-extension-pack/avalon23-extend-pack.php 69% from 13 tests
The entry point to "Extension pack for Avalon23" version 1.0.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Requires at least: Periods and digits should be used for the required version number (ex. "7.0" instead of "WP 4.9")
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Main file name: It is recommended to name the main PHP file as the plugin slug ("avalon23-extension-pack.php" instead of "avalon23-extend-pack.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
Everything looks great! No dangerous files found in this plugin252 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 14 | 15 | 155 |
JavaScript | 2 | 11 | 14 | 75 |
CSS | 1 | 0 | 0 | 22 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG files were detected