Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼3.48ms] Passed 4 tests
An overview of server-side resources used by Smart Archive Page Remove
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 40.14 ▲2.18 |
Dashboard /wp-admin | 3.55 ▲0.21 | 45.15 ▼10.12 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 45.70 ▲0.38 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 84.96 ▼6.37 |
Media Library /wp-admin/upload.php | 3.41 ▲0.19 | 35.75 ▲3.70 |
Archive Pages /wp-admin/options-general.php?page=smartarchivepageremovesettings | 3.39 | 36.00 |
Server storage [IO: ▲0.08MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 32 new files
Database: no new tables, 8 new options
New WordPress options |
---|
smart_archive_page_remove_data |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
category_children |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Smart Archive Page Remove
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.29 ▼0.33 | 1.79 ▲0.15 | 43.96 ▲1.49 |
Dashboard /wp-admin | 2,196 ▲16 | 5.52 ▼0.14 | 85.92 ▼1.71 | 37.70 ▼5.36 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 2.01 ▲0.07 | 35.65 ▲1.90 | 32.92 ▼3.18 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 18.17 ▼4.75 | 610.38 ▼64.94 | 63.02 ▲10.13 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.19 ▼0.00 | 97.60 ▼0.28 | 42.12 ▼3.06 |
Archive Pages /wp-admin/options-general.php?page=smartarchivepageremovesettings | 921 | 2.21 | 27.63 | 33.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_recent-comments
- category_children
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'PPF08_SubClass' not found in wp-content/plugins/smart-archive-page-remove/inc/ppf/ppf-admin.php:16
- > PHP Fatal error
Uncaught Error: Class 'PPF08_SubClass' not found in wp-content/plugins/smart-archive-page-remove/inc/ppf/ppf-settings.php:16
- > PHP Fatal error
Uncaught Error: Class 'PPF08_Plugin' not found in wp-content/plugins/smart-archive-page-remove/inc/ppf/ppf-plugin-addon.php:16
- > PHP Fatal error
Uncaught Error: Class 'PPF08_Class' not found in wp-content/plugins/smart-archive-page-remove/inc/ppf/ppf-plugin.php:16
- > PHP Fatal error
Uncaught Error: Class 'PPF08_Class' not found in wp-content/plugins/smart-archive-page-remove/inc/ppf/ppf-subclass.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: hide archive pages, classicpress, archive page, delete archive pages, delete archive...
smart-archive-page-remove/smart-archive-page-remove.php Passed 13 tests
The primary PHP file in "Smart Archive Page Remove" version 5.1.1 is used by WordPress to initiate all plugin functionality
55 characters long description:
Completely remove unwanted Archive Pages from your Blog
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,191 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 728 | 1,081 | 865 |
CSS | 1 | 51 | 0 | 231 |
JavaScript | 2 | 35 | 22 | 90 |
SVG | 5 | 0 | 0 | 5 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 7.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 1.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 6 | 60.00% |
▷ Concrete classes | 4 | 40.00% |
▷ Final classes | 0 | 0.00% |
Methods | 93 | |
▷ Static methods | 1 | 1.08% |
▷ Public methods | 81 | 87.10% |
▷ Protected methods | 5 | 5.38% |
▷ Private methods | 7 | 7.53% |
Functions | 6 | |
▷ Named functions | 1 | 16.67% |
▷ Anonymous functions | 5 | 83.33% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin