Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- This plugin did not install gracefully
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in archivesPostTabWidget is deprecated since version 4.3.0! Use __construct() instead.
Server metrics [RAM: ▼1.97MB] [CPU: ▼52.35ms] Passed 4 tests
Analyzing server-side resources used by Archive Post Tabs
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 5.37 ▼34.10 |
Dashboard /wp-admin | 2.05 ▼1.30 | 7.34 ▼48.25 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.78 ▼39.70 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.04 ▼87.36 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.81 ▼27.26 |
Archive Posts Tab /wp-admin/options-general.php?page=archivesposttab_settings | 2.05 | 6.31 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_archivesposttabadmin |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Archive Post Tabs
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲158 | 13.62 ▼0.78 | 8.13 ▲6.24 | 42.70 ▼0.59 |
Dashboard /wp-admin | 2,217 ▲29 | 4.90 ▲0.05 | 107.71 ▼4.37 | 39.37 ▼0.31 |
Posts /wp-admin/edit.php | 2,100 ▲14 | 2.04 ▼0.13 | 37.03 ▲0.70 | 35.00 ▲5.13 |
Add New Post /wp-admin/post-new.php | 1,524 ▼9 | 23.08 ▼0.04 | 641.40 ▼43.54 | 82.73 ▲26.52 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.25 ▲0.08 | 103.35 ▲0.26 | 42.42 ▼1.71 |
Archive Posts Tab /wp-admin/options-general.php?page=archivesposttab_settings | 876 | 1.99 | 28.50 | 25.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in archivesPostTabWidget is deprecated since version 4.3.0! Use __construct() instead.
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_archivesposttabadmin
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=archivesposttab_settings
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in archivesPostTabWidget is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=archivesposttab_settings
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in archivesPostTabWidget_Admin is deprecated since version 4.3.0! Use __construct() instead.
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
No output text or server-side errors detected 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
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 27 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #20 (admin-shortcode-list.png), #21 (admin-add-shortcode.png), #22 (admin-add-widget.png)
archive-post-tabs/plugin.php 92% from 13 tests
The main file in "Archive Post Tabs" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the 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 ("archive-post-tabs.php" instead of "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
Good job! No executable or dangerous file extensions detected1,674 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 290 | 420 | 1,163 |
JavaScript | 2 | 39 | 0 | 236 |
PO File | 1 | 72 | 0 | 162 |
CSS | 2 | 8 | 6 | 113 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 17.25 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 1 | 25.00% |
▷ Concrete classes | 3 | 75.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 96.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.45% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 16 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/view-more.png | 0.36KB | 0.33KB | ▼ 7.14% |
assets/images/searchicon.png | 0.80KB | 0.82KB | 0.00% |
assets/images/view.png | 2.09KB | 1.45KB | ▼ 30.97% |
assets/images/no-img.png | 3.66KB | 0.88KB | ▼ 76.05% |
assets/images/right-icon.png | 0.36KB | 0.44KB | 0.00% |