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.12MB] [CPU: ▼11.70ms] Passed 4 tests
Server-side resources used by Slippy
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 34.05 ▼16.08 |
Dashboard /wp-admin | 3.43 ▲0.12 | 46.71 ▼3.43 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 43.15 ▼2.14 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 84.44 ▼25.15 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 37.65 ▲4.62 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=slipnote | 3.34 | 30.27 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=slipnote | 3.34 | 39.30 |
Add New /wp-admin/post-new.php?post_type=slipnote | 3.48 | 58.49 |
All Slip Notes /wp-admin/edit.php?post_type=slipnote | 3.40 | 38.79 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
category_children |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Slippy
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲169 | 13.23 ▼1.40 | 1.64 ▼0.18 | 37.02 ▼6.57 |
Dashboard /wp-admin | 2,304 ▲116 | 4.94 ▲0.04 | 112.87 ▼5.65 | 43.59 ▼3.98 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.04 ▲0.00 | 36.06 ▼1.53 | 32.66 ▼1.94 |
Add New Post /wp-admin/post-new.php | 1,707 ▲169 | 22.26 ▼0.88 | 634.24 ▼39.96 | 30.20 ▼23.63 |
Media Library /wp-admin/upload.php | 1,454 ▲66 | 4.28 ▲0.01 | 98.63 ▼5.15 | 41.76 ▼2.82 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=slipnote | 1,375 | 2.30 | 32.58 | 31.15 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=slipnote | 1,513 | 2.31 | 34.58 | 33.63 |
Add New /wp-admin/post-new.php?post_type=slipnote | 2,414 | 7.88 | 174.50 | 59.33 |
All Slip Notes /wp-admin/edit.php?post_type=slipnote | 1,170 | 1.99 | 30.95 | 29.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- category_children
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function LMNHQ\\WP\\Plugin\\is_admin() in wp-content/plugins/slippy/class-slippy.php:585
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: zettelkasten, lmnhq, slipbox, notes
slippy/class-slippy.php 92% from 13 tests
This is the main PHP file of "Slippy" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("slippy.php" instead of "class-slippy.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin477 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 78 | 133 | 376 |
JavaScript | 1 | 13 | 1 | 64 |
CSS | 1 | 10 | 0 | 37 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 42.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 83.33% |
▷ Protected methods | 3 | 16.67% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected