84% wpazure-kit

Code Review | Wpazure Kit

WordPress plugin Wpazure Kit scored84%from 54 tests.

About plugin

  • Plugin page: wpazure-kit
  • Plugin version: 2.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3.0-6.2
  • WordPress version: 6.3.1
  • First release: Aug 21, 2019
  • Latest release: May 1, 2023
  • Number of updates: 36
  • Update frequency: every 37.8 days
  • Top authors: wpazure (100%)

Code review

54 tests

User reviews

1 review

Install metrics

1,000+ active /34,263 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

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

An overview of server-side resources used by Wpazure Kit
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0040.34 ▲3.47
Dashboard /wp-admin3.31 ▼0.0445.13 ▼13.54
Posts /wp-admin/edit.php3.36 ▲0.0046.20 ▼0.28
Add New Post /wp-admin/post-new.php5.89 ▲0.0080.51 ▼7.24
Media Library /wp-admin/upload.php3.23 ▲0.0035.38 ▼1.72

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 86 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
db_upgraded
widget_recent-posts
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by Wpazure Kit
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲4314.22 ▼0.351.92 ▲0.1738.74 ▼1.43
Dashboard /wp-admin2,192 ▲155.54 ▼0.0480.21 ▼6.7737.40 ▼2.09
Posts /wp-admin/edit.php2,100 ▼02.03 ▲0.0632.91 ▼0.7135.02 ▼1.93
Add New Post /wp-admin/post-new.php1,528 ▼023.07 ▼0.16597.23 ▼82.1260.91 ▲4.19
Media Library /wp-admin/upload.php1,400 ▲34.23 ▼0.0895.78 ▼13.8741.77 ▼7.27

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
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
  • 49× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wpazure-kit/inc/consultera/sections/service-section.php:218
    • > PHP Fatal error
      Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wpazure-kit/inc/consultera/sections/project-section.php:99
    • > PHP Fatal error
      Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wpazure-kit/inc/consultera/sections/cta-section.php:55
    • > PHP Fatal error
      Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wpazure-kit/inc/rynobiz/sections/testimonial-section.php:153
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpazure-kit/inc/pixlerweb/features/social-section.php:120
    • > PHP Fatal error
      Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wpazure-kit/inc/upfrontwp/sections/slider-section.php:66
    • > PHP Fatal error
      Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wpazure-kit/inc/rynobiz/sections/news-section.php:126
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpazure-kit/inc/consultera/features/news-section.php:68
    • > PHP Fatal error
      Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wpazure-kit/inc/busicorp/sections/cta-section.php:55
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpazure-kit/inc/upfrontwp/features/home-section-settings.php:1275

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

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: widgets, widget, admin

wpazure-kit/wpazure-kit.php 92% from 13 tests

"Wpazure Kit" version 2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Requires at least: The required version number must match the one declared in readme.txt ("4.5" instead of "3.3.0")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin6,940 lines of code in 45 files:
LanguageFilesBlank linesComment linesLines of code
PHP431,5025546,660
JavaScript15863173
CSS1173107

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity4.00
▷ Minimum class complexity1.00
▷ Maximum class complexity10.00
Average method complexity3.25
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions206
▷ Named functions206100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
inc/customizer/lib/class-alpha-color-control/css/transparency-grid.png2.58KB2.80KB0.00%