10% firephp-firebug-php

Code Review | FirePHP / Firebug PHP Integration

WordPress plugin FirePHP / Firebug PHP Integration scored10%from 54 tests.

About plugin

  • Plugin page: firephp-firebug-php
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.5.1
  • WordPress version: 6.3.1
  • First release: Mar 8, 2013
  • Latest release: Mar 8, 2013
  • Number of updates: 4
  • Update frequency: every 0.5 days
  • Top authors: evaldsurtans (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

300+ active /9,125 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
  • The plugin cannot be installed
    • > Deprecated in wp-content/plugins/firephp-firebug-php/vendor/FirePHP.class.php+1326
    Array and string offset access syntax with curly braces is deprecated

Server metrics [RAM: ▼1.59MB] [CPU: ▼55.26ms] Passed 4 tests

Server-side resources used by FirePHP / Firebug PHP Integration
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.40 ▼1.065.58 ▼38.44
Dashboard /wp-admin2.42 ▼0.896.60 ▼45.08
Posts /wp-admin/edit.php2.42 ▼0.948.53 ▼42.85
Add New Post /wp-admin/post-new.php2.42 ▼3.477.54 ▼94.67
Media Library /wp-admin/upload.php2.42 ▼0.817.63 ▼26.50

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
can_compress_scripts
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by FirePHP / Firebug PHP Integration
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5414.74 ▲0.131.88 ▲0.0940.73 ▼4.94
Dashboard /wp-admin2,221 ▲215.86 ▲0.02110.04 ▲8.2643.61 ▼1.73
Posts /wp-admin/edit.php2,100 ▼31.97 ▼0.0040.17 ▼1.6335.29 ▼1.44
Add New Post /wp-admin/post-new.php1,547 ▲223.49 ▲0.03666.97 ▲32.1654.04 ▼16.03
Media Library /wp-admin/upload.php1,400 ▼34.19 ▼0.0699.47 ▼0.4842.45 ▼6.18

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Uninstall procedure had uncaught errors
    • > Deprecated in wp-content/plugins/firephp-firebug-php/vendor/FirePHP.class.php+1326
    Array and string offset access syntax with curly braces is deprecated
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • 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
Good news, no errors were detected

SRP 50% from 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
Please fix the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/firephp-firebug-php/firephp.php:21

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
  • Screenshots: These screenshots have no corresponding images in /assets: #1 (http://clients.asketic.lv/wp-plugins/firephp/screen1.png), #2 (http://clients.asketic.lv/wp-plugins/firephp/screen2.png), #3 (http://clients.asketic.lv/wp-plugins/firephp/screen3.png)
  • Donate link: Invalid URI found ("")
You can take inspiration from this readme.txt

firephp-firebug-php/firephp.php 85% from 13 tests

The main PHP file in "FirePHP / Firebug PHP Integration" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 144 characters long)
  • Main file name: The principal plugin file should be the same as the plugin slug ("firephp-firebug-php.php" instead of "firephp.php")

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,021 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP32368391,021

PHP code 50% from 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
  • Method cyclomatic complexity should be reduced to less than 100 (currently 120)
Cyclomatic complexity
Average complexity per logical line of code0.65
Average class complexity86.33
▷ Minimum class complexity1.00
▷ Maximum class complexity257.00
Average method complexity4.82
▷ Minimum method complexity1.00
▷ Maximum method complexity120.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods67
▷ Static methods2232.84%
▷ Public methods5379.10%
▷ Protected methods1116.42%
▷ Private methods34.48%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants15
▷ Global constants426.67%
▷ Class constants1173.33%
▷ Public constants11100.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