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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.33ms] Passed 4 tests
This is a short check of server-side resources used by Aged Content Message
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.09 ▲2.34 |
Dashboard /wp-admin | 3.32 ▲0.02 | 40.58 ▼7.37 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.69 ▲1.80 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 79.12 ▼10.08 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.27 ▲3.17 |
Aged Content /wp-admin/options-general.php?page=aged-content-message | 3.21 | 26.94 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
aged_content_message__settings |
theysaidso_admin_options |
aged_content_message__status |
Browser metrics Passed 4 tests
Checking browser requirements for Aged Content Message
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲111 | 13.21 ▼1.12 | 1.77 ▲0.16 | 36.65 ▼7.07 |
Dashboard /wp-admin | 2,210 ▲25 | 5.88 ▲1.03 | 110.68 ▼5.63 | 47.30 ▲5.78 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.04 | 39.27 ▲2.07 | 34.37 ▼0.32 |
Add New Post /wp-admin/post-new.php | 1,536 ▲5 | 23.32 ▼0.07 | 657.38 ▲38.93 | 51.35 ▼0.11 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.22 ▲0.02 | 96.14 ▼5.16 | 40.87 ▼2.66 |
Aged Content /wp-admin/options-general.php?page=aged-content-message | 929 | 2.02 | 27.74 | 38.96 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- theysaidso_admin_options
- aged_content_message__settings
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
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)
Good news, no errors were detected
SRP 50% from 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
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aged-content-message/inc/admin.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aged-content-message/inc/frontend.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
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
10 plugin tags: alert, date, message, content, warning...
aged-content-message/aged-content-message.php Passed 13 tests
"Aged Content Message" version 1.4.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
125 characters long description:
Displays a message at the top of single posts published x years ago or earlier, informing about content that may be outdated.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin654 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 114 | 192 | 377 |
PO File | 2 | 54 | 55 | 250 |
JSON | 1 | 0 | 0 | 27 |
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.15 |
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 | 24 | |
▷ Named functions | 24 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin