90% all-in-one-wpml-crowdfunding-campaigns

Code Review | All-in-one WPML Crowdfunding Campaigns

WordPress plugin All-in-one WPML Crowdfunding Campaigns scored 90% from 54 tests.

About plugin

  • Plugin page: all-in-one-wpml-c...
  • Plugin version: 1.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2-4.2.2
  • WordPress version: 6.3.1
  • First release: Nov 16, 2013
  • Latest release: Jul 2, 2015
  • Number of updates: 15
  • Update frequency: every 39.6 days
  • Top authors: ericdaams (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 5,503 total downloads

Benchmarks

Plugin footprint 83% from 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: ▼2.31ms] Passed 4 tests

Server-side resources used by All-in-one WPML Crowdfunding Campaigns
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.95 ▼5.02
Dashboard /wp-admin3.31 ▲0.0044.77 ▼5.28
Posts /wp-admin/edit.php3.36 ▲0.0049.00 ▼2.84
Add New Post /wp-admin/post-new.php5.89 ▲0.0096.83 ▲6.76
Media Library /wp-admin/upload.php3.23 ▲0.0037.54 ▲3.91

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

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

Browser metrics Passed 4 tests

A check of browser resources used by All-in-one WPML Crowdfunding Campaigns
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲4313.26 ▼1.121.69 ▼0.1845.47 ▲1.87
Dashboard /wp-admin2,209 ▲275.91 ▲1.04106.13 ▲3.7339.63 ▼4.21
Posts /wp-admin/edit.php2,086 ▼01.98 ▼0.0439.43 ▲2.3936.74 ▲2.72
Add New Post /wp-admin/post-new.php1,525 ▼823.42 ▼0.04660.64 ▼5.7055.44 ▼6.99
Media Library /wp-admin/upload.php1,385 ▼34.17 ▼0.10100.15 ▼0.7244.17 ▼3.77

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: language, crowdfunding, crowdfund, wpml, appthemer...

all-in-one-wpml-crowdfunding-campaigns/crowdfunding-wpml.php 92% from 13 tests

The main PHP file in "All-in-one WPML Crowdfunding Campaigns" ver. 1.1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("all-in-one-wpml-crowdfunding-campaigns.php" instead of "crowdfunding-wpml.php")

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
There were no executable files found in this plugin62 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP2206346
Markdown112016

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.20
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods120.00%
▷ Public methods240.00%
▷ Protected methods00.00%
▷ Private methods360.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin