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: ▼6.85ms] Passed 4 tests
An overview of server-side resources used by Jigsaw
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 32.97 ▼5.16 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.11 ▼0.89 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.86 ▼3.46 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.14 ▼17.89 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.37 ▲3.48 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Jigsaw
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.25 ▼1.11 | 1.91 ▲0.13 | 40.07 ▼7.32 |
Dashboard /wp-admin | 2,203 ▲15 | 5.81 ▲0.90 | 98.53 ▼8.24 | 38.51 ▼0.41 |
Posts /wp-admin/edit.php | 2,086 ▼0 | 2.02 ▼0.00 | 35.90 ▼2.20 | 33.10 ▼0.76 |
Add New Post /wp-admin/post-new.php | 1,514 ▼22 | 17.53 ▼5.77 | 658.75 ▲17.06 | 52.56 ▼25.54 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.32 ▲0.10 | 108.84 ▲9.33 | 48.03 ▲4.14 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: admin, configuration
jigsaw/jigsaw.php Passed 13 tests
"Jigsaw" version 0.9.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
54 characters long description:
Simple ways to make admin customizations for WordPress
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
No dangerous file extensions were detected568 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 62 | 25 | 434 |
Markdown | 1 | 37 | 0 | 96 |
JSON | 1 | 0 | 0 | 38 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 28 | |
▷ Static methods | 26 | 92.86% |
▷ Public methods | 28 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 22 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin