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
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼12.19ms] Passed 4 tests
Server-side resources used by Flik Timeline
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.78 ▼3.92 |
Dashboard /wp-admin | 3.36 ▲0.01 | 55.43 ▼12.86 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 53.22 ▼3.73 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 86.08 ▼28.26 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.80 ▲1.67 |
Add Item /wp-admin/post-new.php?post_type=flik_timeline | 3.40 | 50.13 |
All Items /wp-admin/edit.php?post_type=flik_timeline | 3.32 | 37.35 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- Illegal file modification found: 1 file (4.00KB) outside of "wp-content/plugins/flik-timeline/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Flik Timeline
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲101 | 13.18 ▼1.08 | 1.81 ▼0.20 | 45.88 ▲0.88 |
Dashboard /wp-admin | 2,250 ▲50 | 4.88 ▼0.97 | 97.35 ▼7.62 | 40.30 ▼4.27 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 2.04 ▲0.01 | 39.16 ▼0.83 | 38.09 ▼0.80 |
Add New Post /wp-admin/post-new.php | 1,571 ▲45 | 23.18 ▲5.53 | 648.19 ▼50.61 | 63.31 ▼4.75 |
Media Library /wp-admin/upload.php | 1,438 ▲41 | 4.23 ▲0.01 | 98.83 ▼1.37 | 44.64 ▲1.01 |
Add Item /wp-admin/post-new.php?post_type=flik_timeline | 2,280 | 7.76 | 175.73 | 98.95 |
All Items /wp-admin/edit.php?post_type=flik_timeline | 1,099 | 2.01 | 31.30 | 31.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
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 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
flik-timeline/flik-timeline-basic.php 85% from 13 tests
This is the main PHP file of "Flik Timeline" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("flik-timeline.php" instead of "flik-timeline-basic.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 258 characters long)
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
No dangerous file extensions were detected533 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 80 | 22 | 253 |
CSS | 5 | 41 | 6 | 233 |
JavaScript | 4 | 8 | 11 | 47 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/flik/img/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |
assets/images/preview-image.png | 22.26KB | 9.40KB | ▼ 57.76% |
assets/images/custom-image.png | 0.68KB | 0.50KB | ▼ 26.86% |
assets/images/timelayn.png | 9.25KB | 4.85KB | ▼ 47.58% |
assets/flik/img/controls (1).png | 2.74KB | 1.42KB | ▼ 48.29% |