Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.87ms] Passed 4 tests
Analyzing server-side resources used by VéritéCo Timeline
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.70 ▼3.10 |
Dashboard /wp-admin | 3.31 ▲0.01 | 42.96 ▼2.13 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.61 ▼6.16 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 90.92 ▼8.09 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.57 ▲3.56 |
Server storage [IO: ▲1.37MB] [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: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for VéritéCo Timeline
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,879 ▲122 | 13.98 ▼0.40 | 5.21 ▲2.86 | 37.13 ▼6.59 |
Dashboard /wp-admin | 2,206 ▲18 | 5.87 ▲0.01 | 107.34 ▼1.14 | 45.17 ▲0.86 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.01 ▲0.02 | 40.33 ▼2.72 | 36.07 ▲2.23 |
Add New Post /wp-admin/post-new.php | 1,668 ▲135 | 23.12 ▲0.00 | 673.14 ▲30.44 | 52.52 ▼5.20 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.25 ▼0.03 | 92.85 ▼7.74 | 42.21 ▼3.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
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
Even though everything seems fine, this is not 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/timeline-verite-shortcode/verite-timeline.php:28
- > 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 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: verite, stamen, shortcode, timeline, timelineveriteco...
timeline-verite-shortcode/verite-timeline.php 85% from 13 tests
The main PHP script in "VéritéCo Timeline" version 0.9.7 is automatically included on every request by WordPress
It is important to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("timeline-verite-shortcode.php" instead of "verite-timeline.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin698 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 17 | 0 | 0 | 388 |
PHP | 1 | 21 | 27 | 152 |
Markdown | 1 | 29 | 0 | 75 |
JavaScript | 13 | 7 | 148 | 49 |
PO File | 1 | 10 | 13 | 34 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 5 | |
▷ Named functions | 5 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/button-tinymce.png | 0.32KB | 0.34KB | 0.00% |
css/themes/timeline-texture.png | 41.97KB | 44.06KB | 0.00% |
css/themes/timeline-dark.png | 10.61KB | 5.02KB | ▼ 52.70% |
css/timeline.png | 10.56KB | 4.88KB | ▼ 53.80% |