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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.18MB] [CPU: ▼7.16ms] Passed 4 tests
Server-side resources used by Current Age Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.73 ▼0.73 | 12.49 ▼26.14 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.42 ▲0.90 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.74 ▼3.91 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 93.12 ▲3.71 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.74 ▲0.50 |
Current Age Settings /wp-admin/options-general.php?page=currentage-submenu-page | 3.25 | 28.96 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Current Age Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▼7 | 14.74 ▼0.01 | 1.72 ▼0.14 | 42.63 ▲1.82 |
Dashboard /wp-admin | 2,207 ▲4 | 4.84 ▼1.16 | 99.79 ▲2.65 | 41.43 ▲3.90 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.03 | 36.82 ▼0.90 | 33.47 ▼2.69 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.15 ▼0.21 | 602.10 ▼33.47 | 65.63 ▲13.11 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.19 ▲0.05 | 95.27 ▼6.48 | 43.87 ▼2.84 |
Current Age Settings /wp-admin/options-general.php?page=currentage-submenu-page | 1,202 | 2.03 | 22.42 | 32.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=currentage-submenu-page
- > Notice in wp-content/plugins/current-age/currentage_admin.php+61
Trying to access array offset on value of type bool
- 15 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=currentage-submenu-page
- > Deprecated in wp-content/plugins/current-age/currentage.php+55
mktime(): You should be using the time() function instead
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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/current-age/currentage.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function getcalanguage() in wp-content/plugins/current-age/currentage_admin.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #1 (No Screenshot)
- Tags: There were no tags found
current-age/currentage.php 85% from 13 tests
The entry point to "Current Age Plugin" version 1.6 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("current-age.php" instead of "currentage.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 251 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin273 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 39 | 9 | 273 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
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 | 7 | |
▷ Named functions | 7 | 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
No PNG files were detected