Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.77ms] Passed 4 tests
An overview of server-side resources used by Advanced Timeline Gutenberg Block
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 39.57 ▼2.45 |
Dashboard /wp-admin | 3.42 ▲0.11 | 49.68 ▼1.58 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 44.20 ▼2.82 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 97.05 ▼4.21 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 33.81 ▲1.51 |
Timeline Block /wp-admin/options-general.php?page=atlb-block | 3.31 | 28.89 |
Server storage [IO: ▲3.01MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Timeline Gutenberg Block
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲12 | 14.22 ▼0.13 | 1.81 ▼0.17 | 44.60 ▲0.14 |
Dashboard /wp-admin | 2,196 ▲19 | 5.58 ▼0.08 | 85.28 ▼15.78 | 38.27 ▼4.64 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.14 ▲0.14 | 40.30 ▲4.90 | 34.63 ▼0.41 |
Add New Post /wp-admin/post-new.php | 6,373 ▲4,847 | 27.97 ▲4.76 | 836.61 ▲234.02 | 63.44 ▲14.21 |
Media Library /wp-admin/upload.php | 1,395 ▼2 | 4.24 ▲0.02 | 95.82 ▼4.37 | 42.77 ▲0.19 |
Timeline Block /wp-admin/options-general.php?page=atlb-block | 1,438 | 8.98 | 285.89 | 57.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- 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
Good news, no errors were detected
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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-timeline-block/admin/class-admin.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2 in advanced-timeline-block/assets to your readme.txt
advanced-timeline-block/plugin.php 69% from 13 tests
"Advanced Timeline Gutenberg Block" version 2.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("advanced-timeline-block.php" instead of "plugin.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("5.0" instead of "5.7")
- Requires PHP: The required version number did not match the one declared in readme.txt ("5.4" instead of "7.0")
- Description: Please don't use more than 140 characters for the plugin description (currently 164 characters long)
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
There were no executable files found in this plugin10,696 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 9,552 |
PHP | 5 | 61 | 95 | 421 |
JSON | 1 | 0 | 0 | 370 |
CSS | 5 | 55 | 10 | 291 |
JavaScript | 2 | 6 | 5 | 62 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 13 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.14% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin