Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.97ms] Passed 4 tests
Server-side resources used by SBW Timeline
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 34.21 ▼1.84 |
Dashboard /wp-admin | 3.34 ▼0.00 | 44.46 ▼13.66 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.63 ▼2.08 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 92.61 ▼2.31 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 36.14 ▲2.16 |
Timeline Events /wp-admin/edit.php?post_type=sbw_timeline_event | 3.31 | 35.85 |
Add New /wp-admin/post-new.php?post_type=sbw_timeline_event | 3.38 | 45.14 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SBW Timeline
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲97 | 13.24 ▼1.08 | 1.74 ▲0.06 | 44.25 ▲0.84 |
Dashboard /wp-admin | 2,233 ▲44 | 4.83 ▼0.16 | 108.87 ▼6.16 | 38.69 ▼8.99 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.00 ▼0.06 | 39.63 ▲1.30 | 35.37 ▼2.94 |
Add New Post /wp-admin/post-new.php | 1,565 ▲23 | 23.08 ▲5.02 | 651.28 ▼23.85 | 54.39 ▼5.70 |
Media Library /wp-admin/upload.php | 1,412 ▲27 | 4.22 ▼0.03 | 101.04 ▼2.47 | 43.75 ▼3.21 |
Timeline Events /wp-admin/edit.php?post_type=sbw_timeline_event | 1,080 | 1.93 | 30.90 | 31.23 |
Add New /wp-admin/post-new.php?post_type=sbw_timeline_event | 2,239 | 7.71 | 173.46 | 59.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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 detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× 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/sbw-timeline/sbw-timeline.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: timeline, events
sbw-timeline/sbw-timeline.php Passed 13 tests
The main PHP script in "SBW Timeline" version 1.0.1 is automatically included on every request by WordPress
135 characters long description:
SBW Timeline is an easy to use plugin that let's you create a responsive, vertical timeline perfect to feature on your wedding website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin263 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 9 | 9 | 138 |
CSS | 1 | 20 | 0 | 125 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin