Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.02MB] [CPU: ▼11.37ms] Passed 4 tests
This is a short check of server-side resources used by csstimeline
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.06 | 27.03 ▼13.50 |
Dashboard /wp-admin | 3.32 ▼0.03 | 49.81 ▼13.35 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.83 ▼1.28 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.10 ▼17.36 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.76 ▼0.32 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for csstimeline
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.29 ▼0.99 | 1.68 ▼0.00 | 42.94 ▲2.94 |
Dashboard /wp-admin | 2,206 ▲17 | 5.85 ▲0.90 | 108.73 ▲3.92 | 42.96 ▲2.60 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.02 | 35.70 ▲2.01 | 31.36 ▼4.59 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 23.08 ▼0.05 | 620.72 ▼44.73 | 50.32 ▼6.07 |
Media Library /wp-admin/upload.php | 1,379 ▼6 | 4.20 ▲0.01 | 101.95 ▼8.77 | 42.93 ▼4.92 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/csstimeline/csstimeline.php:14
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Basic Appearance 1), #2 (Basic Appearance 2)
csstimeline/csstimeline.php Passed 13 tests
The principal PHP file in "csstimeline" v. 1.0 is loaded by WordPress automatically on each request
74 characters long description:
A simple plugin to style your content as a timeline with a few shortcodes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected463 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 33 | 29 | 358 |
PHP | 1 | 11 | 25 | 58 |
Markdown | 1 | 25 | 0 | 47 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
4 PNG files occupy 0.22MB with 0.14MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 82.12KB | 28.31KB | ▼ 65.53% |
assets/screenshot-1.png | 28.81KB | 11.34KB | ▼ 60.65% |
assets/screenshot-2.png | 82.12KB | 28.31KB | ▼ 65.53% |
screenshot-1.png | 28.81KB | 11.34KB | ▼ 60.65% |