84% convurt

Code Review | Convurt

WordPress plugin Convurt scored84%from 54 tests.

About plugin

  • Plugin page: convurt
  • Plugin version: 2.0.2
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.2
  • WordPress version: 6.3.1
  • First release: Apr 17, 2017
  • Latest release: Apr 30, 2023
  • Number of updates: 23
  • Update frequency: every 96.0 days
  • Top authors: transcendrum (100%)

Code review

54 tests

User reviews

8 reviews

Install metrics

10+ active /1,632 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼4.04ms] Passed 4 tests

Server-side resources used by Convurt
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0347.82 ▼0.67
Dashboard /wp-admin3.33 ▲0.0354.82 ▼3.75
Posts /wp-admin/edit.php3.40 ▲0.0454.15 ▲1.81
Add New Post /wp-admin/post-new.php5.90 ▲0.0189.64 ▼13.53
Media Library /wp-admin/upload.php3.26 ▲0.0354.46 ▲15.24
Convurt API Key /wp-admin/options-general.php?page=convurt-api-key-settings3.2233.34

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Convurt
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,355 ▲59424.87 ▲10.5247.85 ▲46.0945.50 ▲1.44
Dashboard /wp-admin2,446 ▲26610.51 ▲4.85101.13 ▼3.0138.27 ▼5.52
Posts /wp-admin/edit.php2,314 ▲2149.37 ▲7.3674.77 ▲40.6935.24 ▼3.89
Add New Post /wp-admin/post-new.php1,681 ▲15521.37 ▼1.63524.93 ▼167.0931.69 ▼23.49
Media Library /wp-admin/upload.php1,767 ▲36712.11 ▲7.89147.00 ▲43.9942.97 ▼5.91
Convurt API Key /wp-admin/options-general.php?page=convurt-api-key-settings1,0298.9363.6424.87

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
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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/convurt/convurt.php:39

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
  • Screenshots: These screenshots need descriptions #1, #2 in convurt/assets to your readme.txt
The official readme.txt might help

convurt/convurt.php 92% from 13 tests

The entry point to "Convurt" version 2.0.2 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Description: The description should be shorter than 140 characters (currently 221 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected139 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP114976
JavaScript110163

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ 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.12MB with 0.07MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/icon-128x128.png6.07KB3.41KB▼ 43.88%
assets/screenshot-1.png53.30KB20.04KB▼ 62.41%
assets/screenshot-2.png59.53KB21.93KB▼ 63.16%