Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼145.72ms] Passed 4 tests
This is a short check of server-side resources used by Jeba Horizontal Timeline
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 38.10 ▲4.41 |
Dashboard /wp-admin | 3.06 ▲0.01 | 42.92 ▼14.46 |
Posts /wp-admin/edit.php | 3.11 ▼0.00 | 38.22 ▼11.32 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 85.57 ▼557.43 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 30.76 ▲0.32 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Jeba Horizontal Timeline
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,802 ▲189 | 16.45 ▲0.98 | 13.17 ▲3.11 | 73.32 ▲19.48 |
Dashboard /wp-admin | 2,975 ▲38 | 6.03 ▲0.14 | 127.35 ▼37.80 | 52.83 ▼76.33 |
Posts /wp-admin/edit.php | 2,741 ▲2 | 2.70 ▲0.01 | 61.69 ▼5.80 | 52.59 ▼38.92 |
Add New Post /wp-admin/post-new.php | 1,878 ▲287 | 19.14 ▲0.60 | 371.02 ▲8.84 | 84.28 ▼19.87 |
Media Library /wp-admin/upload.php | 1,806 ▼4 | 5.02 ▲0.01 | 145.81 ▲0.34 | 98.78 ▼13.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jeba-horizontal-timeline/jeba-index.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (How to use shortcode in editor.), #2 (Another demo.)
- Contributors: The plugin contributors field is missing
jeba-horizontal-timeline/jeba-index.php 85% from 13 tests
The main PHP file in "Jeba Horizontal Timeline" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 378 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("jeba-horizontal-timeline.php" instead of "jeba-index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected706 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 11 | 19 | 378 |
JavaScript | 2 | 34 | 23 | 223 |
PHP | 1 | 24 | 9 | 104 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG images were found in this plugin