84% firesoft

Code Review | Firesoft

WordPress plugin Firesoft scored84%from 54 tests.

About plugin

  • Plugin page: firesoft
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4.2-5.6
  • WordPress version: 6.3.1
  • First release: Jun 23, 2020
  • Latest release: Jan 14, 2021
  • Number of updates: 5
  • Update frequency: every 41.2 days
  • Top authors: antoniojosefutura (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /415 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▼0.63MB] [CPU: ▼16.94ms] Passed 4 tests

Server-side resources used by Firesoft
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0447.41 ▲8.89
Dashboard /wp-admin3.35 ▲0.0544.91 ▼1.41
Posts /wp-admin/edit.php3.40 ▲0.0447.46 ▼0.99
Add New Post /wp-admin/post-new.php3.23 ▼2.6638.29 ▼65.95
Media Library /wp-admin/upload.php3.27 ▲0.0431.58 ▲0.58

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Firesoft
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.30 ▼1.001.70 ▲0.0638.93 ▼0.45
Dashboard /wp-admin2,206 ▲204.89 ▼0.02107.97 ▼4.5340.57 ▼1.16
Posts /wp-admin/edit.php2,092 ▲32.03 ▼0.0138.48 ▼4.7134.54 ▼1.08
Add New Post /wp-admin/post-new.php1,542 ▲1418.19 ▼0.27616.67 ▲21.7250.86 ▼1.26
Media Library /wp-admin/upload.php1,388 ▲34.20 ▼0.0195.51 ▼3.2341.63 ▼3.83

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/firesoft/firesoft.php:41

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: firesoft, futura-2000, tpv

firesoft/firesoft.php Passed 13 tests

The primary PHP file in "Firesoft" version 1.0.1 is used by WordPress to initiate all plugin functionality
70 characters long description:
Plugin de Futura 2000 para compatibilidad entre WooCommerce y Firesoft

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
Everything looks great! No dangerous files found in this plugin254 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP262111254

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity16.00
▷ Minimum class complexity1.00
▷ Maximum class complexity31.00
Average method complexity3.00
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods15
▷ Static methods1280.00%
▷ Public methods746.67%
▷ Protected methods00.00%
▷ Private methods853.33%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin