84% customize-drag-n-drop-system-limitless

Code Review | Customize your Drag-n-Drop System - Limitless

WordPress plugin Customize your Drag-n-Drop System - Limitless scored84%from 54 tests.

About plugin

  • Plugin page: customize-drag-n-...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.8
  • WordPress version: 6.3.1
  • First release: Jun 11, 2014
  • Latest release: Jun 11, 2014
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: diegpl (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,013 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

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

An overview of server-side resources used by Customize your Drag-n-Drop System - Limitless
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0040.23 ▼4.15
Dashboard /wp-admin3.31 ▲0.0051.30 ▼21.14
Posts /wp-admin/edit.php3.36 ▲0.0052.06 ▲1.88
Add New Post /wp-admin/post-new.php5.89 ▲0.0095.40 ▼7.99
Media Library /wp-admin/upload.php3.23 ▲0.0039.58 ▲1.77

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Customize your Drag-n-Drop System - Limitless
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,801 ▲3013.28 ▼1.012.13 ▲0.0643.58 ▼4.02
Dashboard /wp-admin2,206 ▲185.85 ▼0.06102.35 ▼0.9541.27 ▼4.82
Posts /wp-admin/edit.php2,089 ▲31.99 ▼0.0540.60 ▲2.5537.01 ▼1.59
Add New Post /wp-admin/post-new.php1,542 ▲2818.26 ▲0.66636.80 ▼34.4075.85 ▲16.89
Media Library /wp-admin/upload.php1,385 ▼34.17 ▲0.0294.94 ▼14.4541.19 ▼6.90

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 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 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
Almost there! Just fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customize-drag-n-drop-system-limitless/insert-it-at-head.php:16

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 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
  • Screenshots: Add images for these screenshots: #1 (The sticky contact form at the sidebar showing a link at the footer, instead of open a box div), #2 (The black and white effect over the portfolio items)
You can take inspiration from this readme.txt

customize-drag-n-drop-system-limitless/insert-it-at-head.php 92% from 13 tests

The primary PHP file in "Customize your Drag-n-Drop System - Limitless" version 1.0.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("customize-drag-n-drop-system-limitless.php" instead of "insert-it-at-head.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
Good job! No executable or dangerous file extensions detected27 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript16211
CSS11010
PHP1396

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were 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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin