Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.48ms] Passed 4 tests
Server-side resources used by postical (iCal exporter)
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.70 ▼2.92 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.11 ▼0.77 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.83 ▼2.59 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.99 ▲0.42 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.02 ▲0.35 |
postical /wp-admin/options-general.php?page=postical_setting | 3.21 | 31.59 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Please fix the following
- Illegal file modification found: 1 file (0.00KB) outside of "wp-content/plugins/postical/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/postical/assets-wp-repo/banner-1544\303\227500.png"
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
postical_activated |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for postical (iCal exporter)
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.21 ▼1.54 | 1.71 ▼0.65 | 44.65 ▼10.22 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼1.00 | 105.72 ▼9.27 | 39.47 ▼4.03 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.03 | 39.55 ▲5.86 | 35.84 ▼1.11 |
Add New Post /wp-admin/post-new.php | 1,517 ▼11 | 17.64 ▼5.46 | 694.25 ▼26.24 | 53.49 ▲1.67 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.20 ▲0.02 | 96.10 ▼12.57 | 42.14 ▼3.51 |
postical /wp-admin/options-general.php?page=postical_setting | 785 | 2.03 | 26.78 | 25.34 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/postical/postical.php:24
- > 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 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
5 plugin tags: schedule, calendar, ical, export, exporter
postical/postical.php Passed 13 tests
"postical (iCal exporter)" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
84 characters long description:
export the posts schedules as iCal format. access to http://YOUR-WP-ADDRESS/postical
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
Good job! No executable or dangerous file extensions detected192 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 52 | 62 | 192 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 76.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 23.08% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
2 PNG files occupy 0.10MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets-wp-repo/banner-772x250.png | 44.58KB | 14.35KB | ▼ 67.82% |
assets-wp-repo/banner-1544×500.png | 60.03KB | 16.49KB | ▼ 72.53% |