89% fdp-debug

Code Review | FDP Debug

WordPress plugin FDP Debug scored89%from 54 tests.

About plugin

  • Plugin page: fdp-debug
  • Plugin version: 0.0.6
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.3
  • WordPress version: 6.3.1
  • First release: Jul 15, 2021
  • Latest release: Aug 9, 2023
  • Number of updates: 24
  • Update frequency: every 31.5 days
  • Top authors: giuse (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /898 total downloads

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.04MB] [CPU: ▼4.67ms] Passed 4 tests

A check of server-side resources used by FDP Debug
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0540.11 ▲0.68
Dashboard /wp-admin3.36 ▲0.0148.11 ▼9.46
Posts /wp-admin/edit.php3.41 ▲0.0543.87 ▼0.11
Add New Post /wp-admin/post-new.php5.94 ▲0.0588.34 ▼6.92
Media Library /wp-admin/upload.php3.28 ▲0.0535.57 ▼2.17

Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

FDP Debug: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6514.48 ▲0.861.80 ▼3.7243.62 ▼2.54
Dashboard /wp-admin2,209 ▲214.83 ▼0.01101.13 ▼18.8341.18 ▼2.01
Posts /wp-admin/edit.php2,089 ▼32.04 ▲0.0334.40 ▼10.2132.18 ▼2.47
Add New Post /wp-admin/post-new.php1,542 ▲718.29 ▼4.83656.69 ▲37.6052.79 ▲1.43
Media Library /wp-admin/upload.php1,391 ▲64.22 ▲0.01101.01 ▼3.8444.29 ▲0.34

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
  • Donate link: Please fix this invalid url: "buymeacoffee.com/josem"
  • Donate link: Please fix this invalid url: ""
Please take inspiration from this readme.txt

fdp-debug/fdp-debug.php Passed 13 tests

Analyzing the main PHP file in "FDP Debug" version 0.0.6
118 characters long description:
It helps in the debugging of Freesoul Deactivate Plugins. It works only with Freesoul Deactivate Plugins v >= 1.8.8.7.

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 plugin326 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2921326

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.54
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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