84% convertizerfr

Code Review | Convertizer.fr

WordPress plugin Convertizer.fr scored84%from 54 tests.

About plugin

  • Plugin page: convertizerfr
  • Plugin version: 1.3.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9.0-5.6
  • WordPress version: 6.3.1
  • First release: Oct 18, 2019
  • Latest release: Jan 4, 2021
  • Number of updates: 8
  • Update frequency: every 55.5 days
  • Top authors: djerba (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /503 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼6.74ms] Passed 4 tests

Analyzing server-side resources used by Convertizer.fr
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0339.62 ▲1.12
Dashboard /wp-admin3.34 ▲0.0446.11 ▼8.15
Posts /wp-admin/edit.php3.39 ▲0.0447.75 ▼7.96
Add New Post /wp-admin/post-new.php5.92 ▲0.0493.52 ▼8.39
Media Library /wp-admin/upload.php3.26 ▲0.0432.15 ▼2.47

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Convertizer.fr: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,860 ▲11414.76 ▲0.391.74 ▲0.1342.38 ▲7.21
Dashboard /wp-admin2,269 ▲814.96 ▼1.1298.58 ▼7.8574.56 ▲30.27
Posts /wp-admin/edit.php2,109 ▲201.99 ▼0.0038.43 ▲2.5033.49 ▲2.00
Add New Post /wp-admin/post-new.php1,546 ▲2718.27 ▼4.66700.94 ▲26.9172.54 ▲13.18
Media Library /wp-admin/upload.php1,402 ▲144.23 ▲0.0497.99 ▲0.3471.10 ▲27.35

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/convertizerfr/index.php:17

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
  • Screenshots: Screenshot #1 (Maintenance Mode Configuration) image missing
The official readme.txt might help

convertizerfr/index.php 92% from 13 tests

The entry point to "Convertizer.fr" version 1.3.2 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("convertizerfr.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected294 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PO File2548785

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.19
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/16.png1.47KB0.68KB▼ 53.88%
screenshot-1.png20.70KB8.48KB▼ 59.03%
images/32.png2.29KB1.31KB▼ 42.82%