Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.13ms] Passed 4 tests
Server-side resources used by Timeline for WP Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 48.41 ▲9.60 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.49 ▼4.64 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 42.81 ▼2.03 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 91.42 ▼5.98 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.49 ▲0.15 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Timeline for WP Elementor: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲110 | 13.22 ▼1.10 | 2.03 ▲0.05 | 42.41 ▼3.59 |
Dashboard /wp-admin | 2,227 ▲42 | 5.77 ▲0.90 | 103.13 ▼1.99 | 42.00 ▼0.17 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.02 ▲0.01 | 34.96 ▼0.66 | 33.69 ▲1.79 |
Add New Post /wp-admin/post-new.php | 1,526 ▲7 | 17.62 ▼5.67 | 599.96 ▼89.97 | 54.55 ▼15.67 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.20 ▼0.03 | 98.45 ▼15.05 | 41.07 ▼5.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Use of undefined constant WPTE_PATH - assumed 'WPTE_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/timeline-for-wp-elementor/includes/helper/widgets_inc.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/timeline-for-wp-elementor/includes/aep-notice/admin-notice.php:3
- > PHP Warning
Use of undefined constant BE_PACK_PATH - assumed 'BE_PACK_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/timeline-for-wp-elementor/includes/widgets_inc.php on line 2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #1, #2 in timeline-for-wp-elementor/assets to your readme.txt
timeline-for-wp-elementor/init.php 77% from 13 tests
The entry point to "Timeline for WP Elementor" version 1.2 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "3.0.0")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("timeline-for-wp-elementor.php" instead of "init.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin832 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 75 | 174 | 583 |
CSS | 2 | 32 | 3 | 222 |
JavaScript | 1 | 3 | 0 | 14 |
SVG | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 4.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 17 | |
▷ Static methods | 1 | 5.88% |
▷ Public methods | 15 | 88.24% |
▷ Protected methods | 2 | 11.76% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/aep-menu-logo.png | 2.69KB | 1.20KB | ▼ 55.35% |