89% live-copy

Code Review | Live Copy Tools

WordPress plugin Live Copy Tools scored89%from 54 tests.

About plugin

  • Plugin page: live-copy
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.2.2
  • WordPress version: 6.3.1
  • First release: Sep 17, 2023
  • Latest release: Sep 17, 2023
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: bdkoder (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /23 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
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼5.26ms] Passed 4 tests

Server-side resources used by Live Copy Tools
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0238.04 ▼0.34
Dashboard /wp-admin3.31 ▲0.0143.69 ▼5.49
Posts /wp-admin/edit.php3.36 ▲0.0047.38 ▼0.08
Add New Post /wp-admin/post-new.php5.89 ▲0.0085.62 ▼15.12
Media Library /wp-admin/upload.php3.23 ▲0.0035.25 ▲0.29

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Live Copy Tools
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,886 ▲15113.61 ▼1.045.73 ▲3.8741.85 ▼0.51
Dashboard /wp-admin2,206 ▲185.86 ▼0.03101.63 ▼8.0742.56 ▼2.71
Posts /wp-admin/edit.php2,092 ▼01.99 ▼0.0639.94 ▼0.2334.50 ▼1.49
Add New Post /wp-admin/post-new.php1,529 ▼1318.07 ▼0.11619.20 ▲13.1064.77 ▲7.22
Media Library /wp-admin/upload.php1,385 ▼64.21 ▲0.0194.63 ▼3.6940.43 ▼1.23

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: elementor live copy, elementor extensions, elementor addon, cross domain copy, addons

live-copy/live-copy.php 85% from 13 tests

This is the main PHP file of "Live Copy Tools" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Requires at least: Required version must be the same as the one declared in readme.txt ("5.0.0" instead of "5.2")
  • Requires PHP: Required version must be the same as the one declared in readme.txt ("7.4.0" instead of "7.4")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin107 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP22780104
CSS2002
JavaScript1001

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity13.00
▷ Minimum class complexity13.00
▷ Maximum class complexity13.00
Average method complexity2.71
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods7
▷ Static methods00.00%
▷ Public methods571.43%
▷ Protected methods114.29%
▷ Private methods114.29%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin