Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.25ms] Passed 4 tests
An overview of server-side resources used by My Timeline Blog
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 44.66 ▼4.41 |
Dashboard /wp-admin | 3.35 ▲0.05 | 49.29 ▼11.96 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 51.97 ▲1.47 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 85.82 ▼10.09 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 41.20 ▲5.29 |
Add New /wp-admin/post-new.php?post_type=tmblog | 6.02 | 86.09 |
All Blogs /wp-admin/edit.php?post_type=tmblog | 3.32 | 39.33 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for My Timeline Blog
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.75 ▲0.48 | 2.18 ▲0.35 | 42.18 ▼1.71 |
Dashboard /wp-admin | 2,225 ▲45 | 5.63 ▼0.03 | 93.69 ▲3.35 | 38.05 ▼2.47 |
Posts /wp-admin/edit.php | 2,127 ▲30 | 1.99 ▲0.00 | 40.49 ▲3.08 | 37.88 ▲4.16 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 23.04 ▼0.13 | 595.36 ▼127.72 | 52.73 ▼3.91 |
Media Library /wp-admin/upload.php | 1,421 ▲18 | 4.22 ▼0.17 | 99.97 ▲1.55 | 45.27 ▼1.00 |
Add New /wp-admin/post-new.php?post_type=tmblog | 1,631 | 17.19 | 822.80 | 32.03 |
All Blogs /wp-admin/edit.php?post_type=tmblog | 1,142 | 1.96 | 37.18 | 33.38 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/my-timeline-blog/lib/mtb-posttype.php:55
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/my-timeline-blog/lib/mtb-shortcode.php:108
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #3, #4 in my-timeline-blog/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
my-timeline-blog/my-timeline-blog.php Passed 13 tests
The main file in "My Timeline Blog" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
138 characters long description:
My Blog Timeline is the Great WordPress Blog Timeline Plugin, through which users can create unlimited blog post with Vertical timelines.
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
No dangerous file extensions were detected326 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 8 | 22 | 182 |
JavaScript | 2 | 34 | 23 | 104 |
CSS | 3 | 20 | 28 | 40 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.36MB with 0.24MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 81.70KB | 26.52KB | ▼ 67.54% |
screenshot-2.png | 107.54KB | 35.15KB | ▼ 67.32% |
screenshot-1.png | 92.09KB | 28.01KB | ▼ 69.58% |
screenshot-3.png | 83.55KB | 24.62KB | ▼ 70.53% |