84% tailor-advanced

Code Review | Tailor Page Builder: Advanced Features

WordPress plugin Tailor Page Builder: Advanced Features scored84%from 54 tests.

About plugin

  • Plugin page: tailor-advanced
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3-4.7
  • WordPress version: 6.3.1
  • First release: Nov 1, 2016
  • Latest release: Dec 6, 2016
  • Number of updates: 9
  • Update frequency: every 28.9 days
  • Top authors: andrew.worsfold (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /6,309 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.02MB] [CPU: ▼8.00ms] Passed 4 tests

Analyzing server-side resources used by Tailor Page Builder: Advanced Features
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0338.00 ▼4.11
Dashboard /wp-admin3.33 ▼0.0147.61 ▼12.53
Posts /wp-admin/edit.php3.45 ▲0.0944.93 ▲0.68
Add New Post /wp-admin/post-new.php5.91 ▲0.0385.26 ▼10.75
Media Library /wp-admin/upload.php3.25 ▲0.0333.92 ▼4.61

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 128 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
can_compress_scripts
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Tailor Page Builder: Advanced Features
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,812 ▲6613.33 ▼1.051.72 ▲0.1542.89 ▲2.98
Dashboard /wp-admin2,218 ▲295.88 ▲0.7897.63 ▼15.6841.58 ▲2.10
Posts /wp-admin/edit.php2,103 ▲142.04 ▲0.0635.47 ▼3.0434.07 ▲4.04
Add New Post /wp-admin/post-new.php1,545 ▲2623.27 ▼0.09636.03 ▼46.1855.88 ▼5.76
Media Library /wp-admin/upload.php1,400 ▲184.24 ▼0.0396.88 ▼2.3544.49 ▼0.36

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
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded

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
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 7× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/tailor-advanced/includes/helpers-markup.php:59
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tailor-advanced/includes/shortcodes/shortcode-image.php:111
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tailor-advanced/includes/shortcodes/shortcode-restricted-content.php:68
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tailor-advanced/includes/helpers-elements.php:15
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tailor-advanced/includes/helpers-general.php:382
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/tailor-advanced/includes/helpers-video.php:23
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/tailor-advanced/includes/helpers-animations.php:40

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

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
  • Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
You can take inspiration from this readme.txt

tailor-advanced/tailor-advanced.php Passed 13 tests

The main file in "Tailor Page Builder: Advanced Features" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
49 characters long description:
Adds advanced functionality to the Tailor plugin.

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
No dangerous file extensions were detected11,128 lines of code in 114 files:
LanguageFilesBlank linesComment linesLines of code
CSS434247,225
Sass85409441,604
PHP122065231,253
JavaScript111723681,006
JSON10021
Markdown110019

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity4.67
▷ Minimum class complexity1.00
▷ Maximum class complexity8.00
Average method complexity1.55
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods20
▷ Static methods15.00%
▷ Public methods1575.00%
▷ Protected methods420.00%
▷ Private methods15.00%
Functions23
▷ Named functions23100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin