Benchmarks
Plugin footprint 83% 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.17MB] [CPU: ▼6.75ms] Passed 4 tests
Server-side resources used by OS Timeline Blog
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 31.79 ▼5.48 |
Dashboard /wp-admin | 3.47 ▲0.17 | 47.65 ▲0.77 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 46.71 ▼2.07 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.28 | 74.96 ▼16.35 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 33.41 ▼3.09 |
Timeline /wp-admin/admin.php?page=timeline-blog | 3.35 | 30.86 |
About /wp-admin/admin.php?page=about_developer | 3.35 | 35.16 |
Server storage [IO: ▲1.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
OS Timeline Blog: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,882 ▲147 | 13.14 ▼1.61 | 5.29 ▲3.57 | 43.26 ▼1.65 |
Dashboard /wp-admin | 2,219 ▲31 | 5.87 ▼0.01 | 109.35 ▲7.25 | 83.94 ▲44.05 |
Posts /wp-admin/edit.php | 2,123 ▲31 | 1.99 ▼0.01 | 37.73 ▼4.79 | 34.78 ▼3.13 |
Add New Post /wp-admin/post-new.php | 1,552 ▲38 | 23.04 ▲5.56 | 710.59 ▲17.27 | 53.67 ▲0.79 |
Media Library /wp-admin/upload.php | 1,416 ▲34 | 4.24 ▲0.09 | 98.67 ▼11.27 | 68.68 ▲23.42 |
Timeline /wp-admin/admin.php?page=timeline-blog | 1,263 | 2.06 | 25.44 | 32.53 |
About /wp-admin/admin.php?page=about_developer | 1,002 | 2.19 | 30.89 | 35.22 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/timeline-blog/templates/timeline-page-template.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/timeline-blog/templates/single-timeline-template.php:1
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (Timeline blog admin interface), #2 (Timeline blog page), #3 (Timeline blog single page)
timeline-blog/timeline-blog.php Passed 13 tests
This is the main PHP file of "OS Timeline Blog" version 1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
46 characters long description:
Create a timeline look and feel for your blog.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin850 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 115 | 218 | 553 |
CSS | 2 | 0 | 0 | 297 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 50.00 |
▷ Minimum class complexity | 50.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 25 | |
▷ Static methods | 1 | 4.00% |
▷ Public methods | 23 | 92.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 1.31MB with 0.66MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/category.png | 0.48KB | 0.34KB | ▼ 28.63% |
screenshot-1.png | 46.36KB | 18.81KB | ▼ 59.42% |
screenshot-3.png | 753.51KB | 243.79KB | ▼ 67.65% |
images/social.png | 1.61KB | 1.12KB | ▼ 30.45% |
screenshot-2.png | 534.19KB | 185.21KB | ▼ 65.33% |