Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼3.02ms] Passed 4 tests
A check of server-side resources used by WordPress Error Monitoring by Bugsnag
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.31 | 42.06 ▲3.98 |
Dashboard /wp-admin | 3.60 ▲0.25 | 47.75 ▼11.76 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 48.62 ▲1.25 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 91.71 ▼4.24 |
Media Library /wp-admin/upload.php | 3.46 ▲0.22 | 36.66 ▲2.67 |
Bugsnag /wp-admin/options-general.php?page=bugsnag | 3.43 | 32.41 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WordPress Error Monitoring by Bugsnag
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.14 ▼0.15 | 1.65 ▼0.02 | 43.63 ▲3.60 |
Dashboard /wp-admin | 2,202 ▲25 | 5.63 ▲0.06 | 89.85 ▲4.30 | 42.30 ▼3.67 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.00 ▲0.01 | 40.29 ▲4.58 | 34.03 ▼0.23 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.20 ▼0.01 | 586.37 ▼81.79 | 60.67 ▲5.00 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.11 ▼0.09 | 98.80 ▲2.68 | 40.66 ▼2.38 |
Bugsnag /wp-admin/options-general.php?page=bugsnag | 821 | 2.01 | 23.80 | 28.13 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/bugsnag/views/settings.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bugsnag/bugsnag.php:353
- > PHP Fatal error
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
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: bugsnag, monitoring, error, logging, exception
bugsnag/bugsnag.php 92% from 13 tests
The principal PHP file in "WordPress Error Monitoring by Bugsnag" v. 1.6.3 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 146 characters long)
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
Success! There were no dangerous files found in this plugin1,379 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 342 | 929 | 1,379 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 20.67 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 116 | |
▷ Static methods | 18 | 15.52% |
▷ Public methods | 97 | 83.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 16.38% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin