84% aether

Code Review | Aether - dPlugins Framework

WordPress plugin Aether - dPlugins Framework scored 84% from 54 tests.

About plugin

  • Plugin page: aether
  • Plugin version: 1.1.17
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-5.8
  • WordPress version: 5.9.2
  • First release: Mar 27, 2021
  • Latest release: Aug 9, 2021
  • Number of updates: 25
  • Update frequency: every 5.4 days
  • Top authors: oxyrealm (100%)

Code review

54 tests

User reviews

1 review

Install metrics

500+ active / 3,822 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲0.00MB] [CPU: ▼286.05ms] Passed 4 tests

This is a short check of server-side resources used by Aether - dPlugins Framework
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0261.10 ▲6.83
Dashboard /wp-admin3.44 ▲0.0341.96 ▲4.90
Posts /wp-admin/edit.php3.66 ▲0.0244.44 ▲7.25
Add New Post /wp-admin/post-new.php6.91 ▼0.0695.48 ▼1,158.87
Media Library /wp-admin/upload.php3.31 ▲0.0229.84 ▲2.96

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 216 new files
Database: no new tables, 3 new options
New WordPress options
aether_installed
aether_version
aether_db_version

Browser metrics Passed 4 tests

A check of browser resources used by Aether - dPlugins Framework
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,828 ▲7415.62 ▲0.015.80 ▼0.222.76 ▲0.40
Dashboard /wp-admin2,921 ▲606.10 ▼0.04119.84 ▼19.59155.73 ▼10.44
Posts /wp-admin/edit.php2,735 ▲783.04 ▼0.2062.05 ▼3.52145.36 ▲1.89
Add New Post /wp-admin/post-new.php1,681 ▲2018.10 ▲2.07398.49 ▼23.57170.80 ▲4.46
Media Library /wp-admin/upload.php1,742 ▲475.49 ▼0.05147.86 ▲5.97183.78 ▼1.75

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 3 options in the database
    • aether_version
    • aether_db_version
    • aether_installed

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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
  • 68× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/aether/vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php:10
    • > PHP Fatal error
      Uncaught Error: Interface 'GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/aether/vendor/guzzlehttp/guzzle/src/Exception/TransferException.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'GuzzleHttp\\Exception\\BadResponseException' not found in wp-content/plugins/aether/vendor/guzzlehttp/guzzle/src/Exception/ClientException.php:8
    • > PHP Fatal error
      Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/aether/vendor/guzzlehttp/psr7/src/MultipartStream.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'Medoo\\Tests\\MedooTestCase' not found in wp-content/plugins/aether/vendor/catfan/medoo/tests/QueryTest.php:10
    • > PHP Fatal error
      Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/aether/vendor/guzzlehttp/promises/src/Coroutine.php:45
    • > PHP Fatal error
      Uncaught Error: Interface 'GuzzleHttp\\BodySummarizerInterface' not found in wp-content/plugins/aether/vendor/guzzlehttp/guzzle/src/BodySummarizer.php:7
    • > PHP Fatal error
      Uncaught Error: Interface 'Composer\\Semver\\Constraint\\ConstraintInterface' not found in wp-content/plugins/aether/vendor/composer/semver/src/Constraint/Constraint.php:17
    • > PHP Fatal error
      Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/aether/vendor/guzzlehttp/psr7/src/LazyOpenStream.php:13
    • > PHP Fatal error
      Uncaught Error: Class 'GuzzleHttp\\Exception\\TransferException' not found in wp-content/plugins/aether/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php:13

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
1 plugin tags: oxygen builder

aether/aether.php 92% from 13 tests

The entry point to "Aether - dPlugins Framework" version 1.1.17 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Domain Path: The domain path folder does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected19,725 lines of code in 200 files:
LanguageFilesBlank linesComment linesLines of code
PHP1603,3437,72414,766
Markdown181,28603,778
JSON14001,066
YAML310140
JavaScript12029
XML11021
CSS10015
make1409
SVG1001

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.48
Average class complexity15.54
▷ Minimum class complexity1.00
▷ Maximum class complexity359.00
Average method complexity2.99
▷ Minimum method complexity1.00
▷ Maximum method complexity56.00
Code structure
Namespaces17
Interfaces27
Traits3
Classes119
▷ Abstract classes00.00%
▷ Concrete classes119100.00%
▷ Final classes3529.41%
Methods1,081
▷ Static methods20318.78%
▷ Public methods93186.12%
▷ Protected methods252.31%
▷ Private methods12511.56%
Functions131
▷ Named functions3325.19%
▷ Anonymous functions9874.81%
Constants90
▷ Global constants77.78%
▷ Class constants8392.22%
▷ Public constants6881.93%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin