74% all-in-one-debug-lab

Code Review | All-in-One Debug Lab

WordPress plugin All-in-One Debug Lab scored74%from 54 tests.

About plugin

  • Plugin page: all-in-one-debug-lab
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-5.4
  • WordPress version: 6.3.1
  • First release: May 22, 2020
  • Latest release: May 25, 2020
  • Number of updates: 15
  • Update frequency: every 0.4 days
  • Top authors: panoskarras (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /467 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▼3.88MB] [CPU: ▼64.21ms] Passed 4 tests

A check of server-side resources used by All-in-One Debug Lab
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /0.40 ▼3.330.01 ▼43.68
Dashboard /wp-admin0.40 ▼3.160.01 ▼53.81
Posts /wp-admin/edit.php0.40 ▼3.280.01 ▼54.21
Add New Post /wp-admin/post-new.php0.40 ▼5.750.01 ▼102.23
Media Library /wp-admin/upload.php0.40 ▼3.090.01 ▼46.58
Show Debug Log /wp-admin/admin.php?page=slug_debug_plugin_36bQ3n0.400.01
Setting /wp-admin/admin.php?page=submenu_slug_settings_36bQ3n0.400.02

Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] 67% from 3 tests

How much does this plugin use your filesystem and database?
Please try to fix the following items
  • Illegal file modification detected: 1 file (4.30KB) outside of "wp-content/plugins/all-in-one-debug-lab/" and "wp-content/uploads/"
    • (modified) wp-config.php
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for All-in-One Debug Lab
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,820 ▲5914.29 ▼0.101.71 ▲0.1042.32 ▼3.18
Dashboard /wp-admin2,229 ▲495.61 ▼0.0288.90 ▼1.7640.41 ▼5.90
Posts /wp-admin/edit.php2,131 ▲492.02 ▲0.0337.87 ▼0.8432.66 ▼6.12
Add New Post /wp-admin/post-new.php1,561 ▲3518.58 ▲1.01664.43 ▼68.3153.70 ▼8.61
Media Library /wp-admin/upload.php1,431 ▲314.25 ▲0.06101.95 ▼28.4843.74 ▼12.68
Show Debug Log /wp-admin/admin.php?page=slug_debug_plugin_36bQ3n8571.7633.3630.17
Setting /wp-admin/admin.php?page=submenu_slug_settings_36bQ3n9132.0423.4828.30

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • Uninstall procedure had uncaught errors
    • > Notice in wp-config.php+116
    Constant WP_DEBUG already defined
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=submenu_slug_settings_36bQ3n
    • > Notice in wp-config.php+116
    Constant WP_DEBUG already defined

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test

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 Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: find bug, develop, bug report, display error, wp-config...

all-in-one-debug-lab/all-in-one-debug-lab.php Passed 13 tests

This is the main PHP file of "All-in-One Debug Lab" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
111 characters long description:
All-in-One Debug Lab. Locate, easily and quickly, errors on your wordpress website. Debug, your wordpress site.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected347 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP739111316
CSS12019
JavaScript12012

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions14
▷ Named functions14100.00%
▷ Anonymous functions00.00%
Constants10
▷ Global constants10100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin