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.12MB] [CPU: ▼8.49ms] Passed 4 tests
This is a short check of server-side resources used by Epoch Timelines
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 40.74 ▼1.64 |
Dashboard /wp-admin | 3.42 ▲0.12 | 51.03 ▼0.34 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 52.47 ▲4.38 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 86.61 ▼30.34 |
Media Library /wp-admin/upload.php | 3.35 ▲0.11 | 36.75 ▼1.65 |
Add Timeline /wp-admin/post-new.php?post_type=et_timelines | 3.39 | 44.24 |
Add Timeline Event /wp-admin/post-new.php?post_type=et_events | 3.47 | 54.35 |
All Timeline Events /wp-admin/edit.php?post_type=et_events | 3.39 | 41.68 |
All Timelines /wp-admin/edit.php?post_type=et_timelines | 3.39 | 38.87 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_widget-timeline-timelines |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Epoch Timelines
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲146 | 13.82 ▼0.53 | 7.85 ▲6.07 | 40.56 ▼3.17 |
Dashboard /wp-admin | 2,252 ▲75 | 5.63 ▼0.03 | 88.98 ▲0.34 | 42.42 ▲0.25 |
Posts /wp-admin/edit.php | 2,154 ▲54 | 2.00 ▼0.03 | 40.46 ▲3.66 | 36.69 ▲4.22 |
Add New Post /wp-admin/post-new.php | 1,620 ▲92 | 24.11 ▲0.95 | 652.42 ▼10.42 | 34.23 ▼25.99 |
Media Library /wp-admin/upload.php | 1,457 ▲57 | 4.20 ▲0.04 | 97.25 ▼9.65 | 44.15 ▼4.66 |
Add Timeline /wp-admin/post-new.php?post_type=et_timelines | 1,546 | 2.57 | 58.27 | 51.48 |
Add Timeline Event /wp-admin/post-new.php?post_type=et_events | 2,299 | 7.87 | 173.64 | 62.99 |
All Timeline Events /wp-admin/edit.php?post_type=et_events | 1,127 | 1.97 | 31.29 | 32.40 |
All Timelines /wp-admin/edit.php?post_type=et_timelines | 1,124 | 1.93 | 29.31 | 31.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_widget-timeline-timelines
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=et_events
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
The following issues need your attention
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/epoch-timelines/inc/class-timeline-events.php:16
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/epoch-timelines/inc/class-widget-timeline-timelines.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/epoch-timelines/inc/class-timeline-timelines.php:15
- > PHP Fatal error
Uncaught Error: Class 'Class_Timeline_Timelines' not found in wp-content/plugins/epoch-timelines/interface/timeline-modal.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== epoch-timelines ===
)
epoch-timelines/epoch-timelines.php Passed 13 tests
The primary PHP file in "Epoch Timelines" version 1.1.0 is used by WordPress to initiate all plugin functionality
50 characters long description:
Create timelines of events and epochs in WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin869 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 80 | 77 | 415 |
CSS | 3 | 49 | 93 | 382 |
JavaScript | 2 | 10 | 19 | 53 |
Markdown | 1 | 4 | 0 | 19 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 14.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 2 | 8.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
14 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/smoothness/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
css/smoothness/images/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/smoothness/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |