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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.19ms] Passed 4 tests
Analyzing server-side resources used by AW WordPress Yearly Category Archives
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 35.50 ▼3.32 |
Dashboard /wp-admin | 3.35 ▼0.00 | 44.82 ▼15.10 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.32 ▲1.81 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 95.95 ▲9.36 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.93 ▼0.14 |
Settings /wp-admin/admin.php?page=aw-yearly-category-archives/aw_yearlyCategory_settings_page.php | 3.23 | 31.18 |
Yearly Category Archives /wp-admin/admin.php?page=aw-yearly-category-archives/aw_yearlyCategory_menu_page.php | 3.25 | 29.25 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
AW WordPress Yearly Category Archives: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲86 | 14.39 ▼0.01 | 1.55 ▼0.05 | 39.06 ▼6.17 |
Dashboard /wp-admin | 2,225 ▲51 | 5.66 ▲0.09 | 80.90 ▼5.17 | 86.81 ▲47.56 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.06 ▲0.07 | 39.12 ▲3.21 | 33.29 ▼4.78 |
Add New Post /wp-admin/post-new.php | 1,552 ▲18 | 23.03 ▲0.08 | 700.12 ▲28.47 | 54.66 ▲0.03 |
Media Library /wp-admin/upload.php | 1,424 ▲21 | 4.21 ▲0.02 | 96.77 ▼14.32 | 75.01 ▲27.18 |
Settings /wp-admin/admin.php?page=aw-yearly-category-archives/aw_yearlyCategory_settings_page.php | 883 | 2.01 | 22.65 | 27.16 |
Yearly Category Archives /wp-admin/admin.php?page=aw-yearly-category-archives/aw_yearlyCategory_menu_page.php | 1,202 | 3.39 | 67.94 | 42.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=aw-yearly-category-archives/aw_yearlyCategory_settings_page.php
- > Notice in wp-content/plugins/aw-yearly-category-archives/aw_yearlyCategory_archives_plugin.php+181
Undefined variable: radioButtonValue
- > GET request to /wp-admin/admin.php?page=aw-yearly-category-archives/aw_yearlyCategory_settings_page.php
- > Notice in wp-content/plugins/aw-yearly-category-archives/aw_yearlyCategory_archives_plugin.php+208
Undefined variable: checkboxchecked
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
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/aw-yearly-category-archives/aw_yearlyCategory_menu_page.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function aw_settings_page() in wp-content/plugins/aw-yearly-category-archives/aw_yearlyCategory_settings_page.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aw-yearly-category-archives/aw_yearlyCategory_archives_plugin.php:55
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/aw-yearly-category-archives/aw_yearlyCategory_menu_page.php:59
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: yearly archives, archives, category archives by year, yearly category archives
aw-yearly-category-archives/aw_yearlyCategory_archives_plugin.php 92% from 13 tests
The main PHP file in "AW WordPress Yearly Category Archives" ver. 1.2.8 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("aw-yearly-category-archives.php" instead of "aw_yearlyCategory_archives_plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin255 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 86 | 46 | 235 |
CSS | 2 | 2 | 0 | 13 |
JavaScript | 2 | 0 | 1 | 7 |
PHP code Passed 2 tests
This is a short overview 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.22 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/read.png | 0.61KB | 0.70KB | 0.00% |