78% graphicsly

Code Review | Graphicsly - The ultimate graphics plugin for WordPress website builder ( Gutenberg, Elementor, Beaver Builder, WPBakery )

WordPress plugin Graphicsly - The ultimate graphics plugin for WordPress website builder ( Gutenberg, Elementor, Beaver Builder, WPBakery ) scored78%from 54 tests.

About plugin

  • Plugin page: graphicsly
  • Plugin version: 1.0.2
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.1
  • WordPress version: 6.3.1
  • First release: Nov 2, 2022
  • Latest release: Nov 9, 2022
  • Number of updates: 10
  • Update frequency: every 0.8 days
  • Top authors: besnikac (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active /991 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.63MB] [CPU: ▲2.00ms] Passed 4 tests

Analyzing server-side resources used by Graphicsly - The ultimate graphics plugin for WordPress website builder ( Gutenberg, Elementor, Beaver Builder, WPBakery )
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.97 ▲0.5047.92 ▲4.78
Dashboard /wp-admin4.03 ▲0.7256.60 ▲4.31
Posts /wp-admin/edit.php4.04 ▲0.6964.27 ▲13.89
Add New Post /wp-admin/post-new.php6.67 ▲0.7995.57 ▼3.44
Media Library /wp-admin/upload.php3.83 ▲0.6042.14 ▲2.36
Graphicsly /wp-admin/admin.php?page=graphicsly3.8345.88
License /wp-admin/admin.php?page=license3.8340.05

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Graphicsly - The ultimate graphics plugin for WordPress website builder ( Gutenberg, Elementor, Beaver Builder, WPBakery )
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,007 ▲22118.23 ▲3.851.86 ▼0.1629.41 ▼9.99
Dashboard /wp-admin2,401 ▲2018.70 ▲2.85182.53 ▲78.0065.59 ▲22.99
Posts /wp-admin/edit.php2,315 ▲2126.07 ▲4.02121.65 ▲80.0940.35 ▲4.47
Add New Post /wp-admin/post-new.php1,571 ▲3125.20 ▲7.16742.51 ▲97.80134.60 ▲81.23
Media Library /wp-admin/upload.php1,520 ▲1207.40 ▲3.17145.31 ▲33.0250.19 ▼1.97
Graphicsly /wp-admin/admin.php?page=graphicsly1,1706.17118.6763.32
License /wp-admin/admin.php?page=license1,0246.7995.5232.72

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
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 0% 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
Please take a closer look at the following
  • 1× PHP files output text when accessed directly:
    • > /wp-content/plugins/graphicsly/resources/views/resources.php
  • 44× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Interface 'PluginMaster\\Contracts\\DIC\\DependencyInjectionContract' not found in wp-content/plugins/graphicsly/vendor/plugin-master/foundation/src/DIC/DependencyInjectionContainer.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'Graphicsly\\Bootstrap\\System\\SideMenu' not found in wp-content/plugins/graphicsly/routes/sidemenu.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Graphicsly\\Bootstrap\\System\\Session' not found in wp-content/plugins/graphicsly/resources/views/license.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'Graphicsly\\Bootstrap\\System\\Controller' not found in wp-content/plugins/graphicsly/app/Http/Controllers/Api/DownMediaController.php:9
    • > PHP Fatal error
      Uncaught Error: Interface 'Composer\\Plugin\\PluginInterface' not found in wp-content/plugins/graphicsly/vendor/automattic/jetpack-autoloader/src/CustomAutoloaderPlugin.php:29
    • > PHP Fatal error
      Uncaught Error: Interface 'PluginMaster\\Contracts\\Provider\\ServiceProviderInterface' not found in wp-content/plugins/graphicsly/app/Providers/SvgSupportServiceProvider.php:7
    • > PHP Fatal error
      Uncaught Error: Interface 'PluginMaster\\Contracts\\Middleware\\MiddlewareInterface' not found in wp-content/plugins/graphicsly/app/Http/Middleware/AdminMiddleware.php:8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function media_upload_header() in wp-content/plugins/graphicsly/resources/views/modal/modal-content.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function Automattic\\Jetpack\\Autoloader\\jp30754d424dcaf78f5781c886c89867b1\\wp_normalize_path() in wp-content/plugins/graphicsly/vendor/jetpack-autoloader/class-path-processor.php:73
    • > PHP Fatal error
      Uncaught Error: Interface 'PluginMaster\\Contracts\\Provider\\ServiceProviderInterface' not found in wp-content/plugins/graphicsly/app/Providers/MediaTabServiceProvider.php:8

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

readme.txt 88% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
  • Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
  • Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4 in graphicsly/assets to your readme.txt
The official readme.txt is a good inspiration

graphicsly/graphicsly.php 92% from 13 tests

The main PHP file in "Graphicsly - The ultimate graphics plugin for WordPress website builder ( Gutenberg, Elementor, Beaver Builder, WPBakery )" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
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" instead of "6.0")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin59,007 lines of code in 148 files:
LanguageFilesBlank linesComment linesLines of code
CSS313060652,967
PHP1311,6713,4725,317
JSON750517
Markdown51040204
JavaScript2022

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity6.71
▷ Minimum class complexity1.00
▷ Maximum class complexity52.00
Average method complexity2.47
▷ Minimum method complexity1.00
▷ Maximum method complexity29.00
Code structure
Namespaces46
Interfaces26
Traits1
Classes82
▷ Abstract classes00.00%
▷ Concrete classes82100.00%
▷ Final classes00.00%
Methods549
▷ Static methods11220.40%
▷ Public methods46384.34%
▷ Protected methods264.74%
▷ Private methods6010.93%
Functions28
▷ Named functions932.14%
▷ Anonymous functions1967.86%
Constants5
▷ Global constants00.00%
▷ Class constants5100.00%
▷ Public constants5100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin