Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.58ms] Passed 4 tests
Server-side resources used by Little Free Archive Freshener
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.11 ▼3.59 |
Dashboard /wp-admin | 3.32 ▼0.02 | 48.86 ▼20.46 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.20 ▼1.54 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.56 ▼8.72 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.70 ▲0.14 |
Server storage [IO: ▲0.05MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
lfaf_expiration_date |
widget_recent-comments |
can_compress_scripts |
lfaf_included_post_types |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Little Free Archive Freshener
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲98 | 14.39 ▼0.24 | 1.67 ▼0.10 | 38.93 ▼2.22 |
Dashboard /wp-admin | 2,250 ▲70 | 5.68 ▲0.03 | 85.46 ▼4.44 | 42.75 ▼1.22 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 2.02 ▲0.02 | 38.83 ▼2.31 | 31.83 ▼4.13 |
Add New Post /wp-admin/post-new.php | 1,530 ▲13 | 22.99 ▲3.91 | 597.93 ▲164.99 | 59.32 ▼0.44 |
Media Library /wp-admin/upload.php | 1,399 ▼1 | 4.24 ▼0.08 | 94.82 ▼1.29 | 39.54 ▼1.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- lfaf_included_post_types
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- lfaf_expiration_date
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function ARCHIVE_FRESHENER\\add_action() in wp-content/plugins/little-free-archive-freshener/widget.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function ARCHIVE_FRESHENER\\add_action() in wp-content/plugins/little-free-archive-freshener/options.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: archive, maintenance, seo
little-free-archive-freshener/little-free-archive-freshener.php Passed 13 tests
The entry point to "Little Free Archive Freshener" version 1.0.2 is a PHP file that has certain tags in its header comment area
129 characters long description:
Little Free Archive Freshener is a helpful dashboard widget that prompts you to update your archives, one post or page at a time.
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
Good job! No executable or dangerous file extensions detected265 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 54 | 29 | 250 |
JavaScript | 1 | 9 | 6 | 15 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 1 | |
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 | 15 | |
▷ Named functions | 15 | 100.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
PNG images were not found in this plugin