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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.71MB] [CPU: ▲2.19ms] Passed 4 tests
Server-side resources used by B Timeline - Create And Display Timeline Contents
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.27 ▲0.80 | 40.46 ▲1.25 |
Dashboard /wp-admin | 4.03 ▲0.68 | 51.08 ▼5.81 |
Posts /wp-admin/edit.php | 4.08 ▲0.72 | 53.21 ▲6.36 |
Add New Post /wp-admin/post-new.php | 6.61 ▲0.73 | 99.84 ▲7.71 |
Media Library /wp-admin/upload.php | 3.95 ▲0.72 | 39.03 ▲6.94 |
Add New /wp-admin/post-new.php?post_type=btimeline | 4.18 | 50.99 |
All Timeline /wp-admin/edit.php?post_type=btimeline | 4.16 | 46.44 |
Server storage [IO: ▲1.34MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 155 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for B Timeline - Create And Display Timeline Contents
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲119 | 13.73 ▲0.50 | 8.21 ▲3.84 | 38.74 ▼3.82 |
Dashboard /wp-admin | 2,208 ▲30 | 5.65 ▲0.05 | 93.59 ▼6.13 | 83.24 ▲44.51 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 1.99 ▲0.04 | 38.38 ▲1.79 | 34.54 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,562 ▲33 | 25.23 ▲2.23 | 658.10 ▲50.96 | 58.71 ▲8.64 |
Media Library /wp-admin/upload.php | 1,431 ▲28 | 4.12 ▼0.09 | 99.24 ▼0.13 | 70.89 ▲27.70 |
Add New /wp-admin/post-new.php?post_type=btimeline | 3,335 | 6.07 | 163.90 | 69.24 |
All Timeline /wp-admin/edit.php?post_type=btimeline | 1,479 | 5.26 | 65.66 | 87.99 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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
Please fix the following attributes:
- Screenshots: Screenshot #7 (Demo 4) image required
b-timeline/b-titmeline.php 92% from 13 tests
The entry point to "B Timeline - Create And Display Timeline Contents" version 1.0.4 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("b-timeline.php" instead of "b-titmeline.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin27,065 lines of code in 128 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 75 | 2,326 | 942 | 7,299 |
PO File | 20 | 3,197 | 3,594 | 6,490 |
Sass | 15 | 952 | 3 | 4,803 |
CSS | 6 | 282 | 479 | 4,486 |
JavaScript | 8 | 1,251 | 360 | 3,983 |
SVG | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
An overview 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.63 |
Average class complexity | 24.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 140.00 |
Average method complexity | 6.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 58 | |
▷ Abstract classes | 2 | 3.45% |
▷ Concrete classes | 56 | 96.55% |
▷ Final classes | 0 | 0.00% |
Methods | 233 | |
▷ Static methods | 40 | 17.17% |
▷ Public methods | 233 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 34 | |
▷ Named functions | 34 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/codestar/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |
public/assets/images/timeline.png | 0.90KB | 1.07KB | 0.00% |