88% fifny-cloud-configurators

Code Review | Fifny Cloud Configurators

WordPress plugin Fifny Cloud Configurators scored 88% from 54 tests.

About plugin

  • Plugin page: fifny-cloud-confi...
  • Plugin version: 1.0.4
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.8
  • WordPress version: 5.8.1
  • First release: Aug 6, 2019
  • Latest release: Jul 21, 2021
  • Number of updates: 12
  • Update frequency: every 60.2 days
  • Top authors: fifny (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,226 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.00MB] [CPU: ▼146.70ms] Passed 4 tests

A check of server-side resources used by Fifny Cloud Configurators
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1233.94 ▲12.59
Dashboard /wp-admin3.06 ▲0.0036.18 ▼7.63
Posts /wp-admin/edit.php3.11 ▲0.0041.95 ▼3.40
Add New Post /wp-admin/post-new.php5.42 ▼0.0284.87 ▼570.13
Media Library /wp-admin/upload.php3.01 ▲0.0028.02 ▼5.63

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Checking browser requirements for Fifny Cloud Configurators
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲8316.03 ▲0.368.88 ▲0.0645.85 ▼1.51
Dashboard /wp-admin2,973 ▲425.93 ▼0.25133.14 ▼5.83111.54 ▼5.17
Posts /wp-admin/edit.php2,739 ▼02.72 ▲0.0162.71 ▼0.7693.03 ▲9.31
Add New Post /wp-admin/post-new.php1,872 ▼019.12 ▼0.01369.46 ▼13.00109.09 ▼2.51
Media Library /wp-admin/upload.php1,804 ▼35.02 ▼0.02144.24 ▲2.35119.40 ▲0.39

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 50% 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 everything seems fine, this is not an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/fifny-cloud-configurators/fifny-cloud-configurators.php
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'FCC_Inc\\FCC_Base\\FCC_BaseInformation' not found in wp-content/plugins/fifny-cloud-configurators/FCC_Inc/FCC_Base/FCC_Endpoint.php:9

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed: You can take inspiration from this readme.txt

fifny-cloud-configurators/fifny-cloud-configurators.php Passed 13 tests

The principal PHP file in "Fifny Cloud Configurators" v. 1.0.4 is loaded by WordPress automatically on each request
68 characters long description:
Integrate your e-commerce with Fifny Cloud Configrators by fifny.com

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected609 lines of code in 18 files:
LanguageFilesBlank linesComment linesLines of code
PHP15142224538
PO File1242661
JSON20010

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity8.44
▷ Minimum class complexity1.00
▷ Maximum class complexity44.00
Average method complexity2.81
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces3
Interfaces0
Traits0
Classes9
▷ Abstract classes00.00%
▷ Concrete classes9100.00%
▷ Final classes111.11%
Methods40
▷ Static methods717.50%
▷ Public methods3997.50%
▷ Protected methods00.00%
▷ Private methods12.50%
Functions6
▷ Named functions350.00%
▷ Anonymous functions350.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin