Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.73ms] Passed 4 tests
This is a short check of server-side resources used by Perpetual Calendar Infinite Day of Week Calculator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.81 ▲2.32 |
Dashboard /wp-admin | 3.37 ▲0.07 | 51.57 ▼8.33 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 49.35 ▼3.24 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 93.77 ▲0.12 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.76 ▲0.55 |
Perpetual Calendar plugin /wp-admin/options-general.php?page=jr_pc_settings | 3.26 | 35.38 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 8 new options
New WordPress options |
---|
jr_pc_settings |
can_compress_scripts |
jr_pc_internal_settings |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Perpetual Calendar Infinite Day of Week Calculator: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.75 ▲0.07 | 1.89 ▼0.38 | 42.38 ▲0.34 |
Dashboard /wp-admin | 2,202 ▲25 | 5.63 ▲0.04 | 90.86 ▼10.92 | 40.47 ▼0.28 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.06 ▲0.05 | 40.16 ▲0.70 | 35.22 ▼2.47 |
Add New Post /wp-admin/post-new.php | 1,549 ▼6 | 23.13 ▲4.74 | 652.74 ▼13.53 | 56.56 ▲6.50 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.27 ▲0.09 | 113.95 ▲10.59 | 53.55 ▲12.22 |
Perpetual Calendar plugin /wp-admin/options-general.php?page=jr_pc_settings | 1,549 | 2.20 | 29.62 | 44.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/jonradio-perpetual-calendar/includes/admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jonradio-perpetual-calendar/includes/public.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6 in jonradio-perpetual-calendar/assets to your readme.txt
jonradio-perpetual-calendar/jonradio-perpetual-calendar.php 92% from 13 tests
Analyzing the main PHP file in "Perpetual Calendar Infinite Day of Week Calculator" version 3.0.1
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 276 characters long)
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
No dangerous file extensions were detected1,471 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 81 | 336 | 1,050 |
PO File | 1 | 88 | 152 | 421 |
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.35 |
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 | 31 | |
▷ Named functions | 31 | 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
No PNG files were detected