Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-content/plugins/jeepers-peepers/index.php+171
file_put_contents(/var/log/wordpress/wp.com.log): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.92MB] [CPU: ▼51.32ms] Passed 4 tests
A check of server-side resources used by Jeepers Peepers: WP Syslog
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 6.33 ▼35.77 |
Dashboard /wp-admin | 2.09 ▼1.21 | 5.72 ▼42.27 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 8.09 ▼37.74 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 6.05 ▼89.48 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 5.39 ▼31.24 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Jeepers Peepers: WP Syslog
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 14.42 ▲0.11 | 1.79 ▼0.10 | 43.40 ▼1.71 |
Dashboard /wp-admin | 2,206 ▲18 | 4.87 ▲0.01 | 103.36 ▼11.95 | 42.18 ▼2.47 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.04 ▲0.03 | 34.71 ▲0.54 | 35.91 ▼2.94 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.50 ▲0.51 | 644.48 ▼27.30 | 47.01 ▼5.81 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.40 ▲0.17 | 95.29 ▼0.47 | 43.38 ▼0.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/jeepers-peepers/index.php+171
file_put_contents(/var/log/wordpress/wp.com.log): failed to open stream: No such file or directory
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: event log, system log, monitor, forensics, security...
jeepers-peepers/index.php 92% from 13 tests
This is the main PHP file of "Jeepers Peepers: WP Syslog" version 0.5.3, 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: The principal plugin file should be the same as the plugin slug ("jeepers-peepers.php" instead of "index.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
Good job! No executable or dangerous file extensions detected522 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 119 | 311 | 522 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 25 | 100.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 10 | |
▷ Global constants | 6 | 60.00% |
▷ Class constants | 4 | 40.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin