Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼10.99ms] Passed 4 tests
Analyzing server-side resources used by Timeline Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 44.40 ▲1.71 |
Dashboard /wp-admin | 3.35 ▲0.00 | 47.98 ▼24.08 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 51.87 ▼2.22 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 90.40 ▼19.35 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.09 ▲2.91 |
Add New Timeline Slide /wp-admin/post-new.php?post_type=timeline_slider | 6.01 | 87.15 |
Timeline Slides /wp-admin/edit.php?post_type=timeline_slider | 3.31 | 37.09 |
Timeline Layouts /wp-admin/edit-tags.php?taxonomy=timeline_layout&post_type=timeline_slider | 3.26 | 35.21 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Timeline Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,961 ▲200 | 13.95 ▼0.70 | 9.04 ▲7.33 | 40.66 ▼5.44 |
Dashboard /wp-admin | 2,252 ▲52 | 4.87 ▼1.00 | 104.47 ▼2.65 | 39.48 ▼1.63 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.02 ▲0.01 | 35.97 ▼3.68 | 34.39 ▼1.64 |
Add New Post /wp-admin/post-new.php | 1,580 ▲49 | 18.31 ▼4.83 | 635.02 ▼45.20 | 51.79 ▼1.40 |
Media Library /wp-admin/upload.php | 1,434 ▲37 | 4.23 ▼0.18 | 99.02 ▼3.31 | 46.51 ▲5.22 |
Add New Timeline Slide /wp-admin/post-new.php?post_type=timeline_slider | 6,223 | 22.45 | 816.44 | 28.82 |
Timeline Slides /wp-admin/edit.php?post_type=timeline_slider | 1,101 | 1.99 | 32.36 | 31.50 |
Timeline Layouts /wp-admin/edit-tags.php?taxonomy=timeline_layout&post_type=timeline_slider | 1,313 | 2.14 | 29.38 | 30.64 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/timeline-slider/includes/timelinewp-tax.php:2
- > PHP Warning
Use of undefined constant TWP_PATH - assumed 'TWP_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/timeline-slider/includes/timelinewp-class.php on line 6
- > PHP Fatal error
require(): Failed opening required 'TWP_PATHincludes/timelinewp-cpt.php' (include_path='.:/usr/share/php') in wp-content/plugins/timeline-slider/includes/timelinewp-class.php on line 6
- > PHP Warning
require(TWP_PATHincludes/timelinewp-cpt.php): failed to open stream: No such file or directory in wp-content/plugins/timeline-slider/includes/timelinewp-class.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/timeline-slider/public/timelinewp-front-class.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/timeline-slider/includes/timelinewp-cpt.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Contributors: Contributors not specified
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5 in timeline-slider/assets to your readme.txt
timeline-slider/timeline-slider.php 92% from 13 tests
The primary PHP file in "Timeline Slider" version 1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin2,666 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 854 | 47 | 2,152 |
CSS | 2 | 49 | 5 | 267 |
PHP | 6 | 28 | 24 | 247 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 3 | 30.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
PNG images were not found in this plugin