94% immersive-designer

Code Review | Immersive designer

WordPress plugin Immersive designer scored 94% from 54 tests.

About plugin

  • Plugin page: immersive-designer
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.8.1
  • WordPress version: 5.9.2
  • First release: Sep 24, 2021
  • Latest release: Jan 29, 2022
  • Number of updates: 7
  • Update frequency: every 18.2 days
  • Top authors: bluegamediversion (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 156 total downloads


Plugin footprint Passed 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.26MB] [CPU: ▼296.95ms] Passed 4 tests

Server-side resources used by Immersive designer
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.84 ▲0.3361.00 ▲3.17
Dashboard /wp-admin3.67 ▲0.2774.01 ▲1.98
Posts /wp-admin/edit.php3.90 ▲0.2646.47 ▲4.73
Add New Post /wp-admin/post-new.php7.20 ▲0.2397.90 ▼1,197.68
Media Library /wp-admin/upload.php3.56 ▲0.2748.50 ▲18.17
All Configurations /wp-admin/edit.php?post_type=immersive_config3.6630.65
Add New /wp-admin/post-new.php?post_type=immersive_config3.8446.69
Settings /wp-admin/edit.php?post_type=immersive_config&page=immdg3.5337.82

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 32 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Immersive designer
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,929 ▲17515.92 ▲0.218.99 ▲2.342.16 ▼0.48
Dashboard /wp-admin2,922 ▲645.99 ▼0.29113.62 ▼17.49154.14 ▼1.87
Posts /wp-admin/edit.php2,735 ▲443.25 ▲0.0263.54 ▲0.41184.65 ▼8.44
Add New Post /wp-admin/post-new.php1,745 ▲7921.77 ▲1.30446.21 ▲10.31158.93 ▼11.43
Media Library /wp-admin/upload.php1,739 ▲445.53 ▼0.03138.16 ▼3.43188.61 ▲4.00
All Configurations /wp-admin/edit.php?post_type=immersive_config1,4133.1561.20146.87
Add New /wp-admin/post-new.php?post_type=immersive_config2,9918.47190.08206.87
Settings /wp-admin/edit.php?post_type=immersive_config&page=immdg1,0752.4278.48121.19

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
    • > GET request to /wp-admin/post-new.php?post_type=immersive_config
    • > Rendering (warning) in unknown
    /wp-admin/post-new.php?post_type=immersive_config - [.WebGL-0x563994a7b6c0]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
  • Donate link: Invalid url: ""
You can take inspiration from this readme.txt

immersive-designer/immdg.php 92% from 13 tests

Analyzing the main PHP file in "Immersive designer" version 1.0.0
The following require your attention:
  • Main file name: Name the main plugin file the same as the plugin slug ("immersive-designer.php" instead of "immdg.php")

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 plugin58,710 lines of code in 24 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity13.88
▷ Minimum class complexity1.00
▷ Maximum class complexity69.00
Average method complexity3.29
▷ Minimum method complexity1.00
▷ Maximum method complexity26.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
▷ Static methods24.44%
▷ Public methods3986.67%
▷ Protected methods00.00%
▷ Private methods613.33%
▷ Named functions9100.00%
▷ Anonymous functions00.00%
▷ Global constants9100.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.01MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings