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.00MB] [CPU: ▼6.11ms] Passed 4 tests
Analyzing server-side resources used by MaxiCharts Timeline
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.56 ▼5.78 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.79 ▼6.33 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.46 ▼0.50 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.26 ▼9.42 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.39 ▼2.92 |
Server storage [IO: ▲18.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 1,043 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by MaxiCharts Timeline
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.74 ▲0.37 | 1.65 ▼0.13 | 44.38 ▲1.45 |
Dashboard /wp-admin | 2,206 ▲15 | 5.81 ▼0.04 | 100.51 ▼9.05 | 38.56 ▼5.31 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.01 | 38.82 ▲0.91 | 35.27 ▼1.96 |
Add New Post /wp-admin/post-new.php | 1,524 ▼11 | 23.41 ▲0.24 | 600.15 ▼45.43 | 54.08 ▼6.72 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.21 ▲0.02 | 97.79 ▲1.69 | 42.39 ▲0.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/maxicharts-timeline/libs/node_modules/vis/examples/graph3d/playground/datasource.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Requires php: Version not formatted correctly
maxicharts-timeline/maxicharts-timeline.php Passed 13 tests
The primary PHP file in "MaxiCharts Timeline" version 1.2.0 is used by WordPress to initiate all plugin functionality
75 characters long description:
Use Time Line inside Wordpress to display csv events, or blog posts history
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 detected186,819 lines of code in 859 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 586 | 22,441 | 34,781 | 144,196 |
HTML | 189 | 3,396 | 248 | 26,461 |
CSS | 36 | 624 | 284 | 9,989 |
Markdown | 16 | 1,150 | 0 | 2,733 |
JSON | 14 | 0 | 0 | 1,296 |
PHP | 2 | 128 | 148 | 638 |
TypeScript | 1 | 126 | 87 | 523 |
SVG | 4 | 7 | 2 | 440 |
Python | 5 | 131 | 132 | 373 |
CoffeeScript | 1 | 12 | 3 | 109 |
YAML | 4 | 3 | 0 | 56 |
make | 1 | 2 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 69.00 |
▷ Minimum class complexity | 69.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 5.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
104 PNG files occupy 1.69MB with 1.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libs/node_modules/vis/examples/network/img/soft-scraps-icons/User-Coat-Blue-icon.png | 3.48KB | 2.25KB | ▼ 35.15% |
libs/node_modules/vis/examples/timeline/resources/img/mail-icon.png | 3.22KB | 2.39KB | ▼ 25.74% |
libs/node_modules/vis/dist/img/network/leftArrow.png | 4.42KB | 1.54KB | ▼ 65.20% |
libs/node_modules/vis/examples/network/img/indonesia/4.png | 30.62KB | 4.49KB | ▼ 85.33% |
libs/node_modules/vis/examples/network/img/indonesia/7.png | 29.36KB | 4.74KB | ▼ 83.86% |