84% antylaykaua

Code Review | AntylaykaUA

WordPress plugin AntylaykaUA scored84%from 54 tests.

About plugin

  • Plugin page: antylaykaua
  • Plugin version: 1.00
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2.2-5.3.2
  • WordPress version: 6.3.1
  • First release: Mar 25, 2020
  • Latest release: Mar 25, 2020
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: dim4havryluk (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /435 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

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

A check of server-side resources used by AntylaykaUA
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /4.63 ▲1.17117.95 ▲74.04
Dashboard /wp-admin3.31 ▲0.0047.55 ▼4.38
Posts /wp-admin/edit.php3.36 ▲0.0046.07 ▲2.11
Add New Post /wp-admin/post-new.php5.89 ▲0.00239.86 ▲142.82
Media Library /wp-admin/upload.php3.23 ▲0.0035.23 ▲1.12

Server storage [IO: ▲0.25MB] [DB: ▲0.07MB] Passed 3 tests

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

AntylaykaUA: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.23 ▼1.524.55 ▲2.6442.09 ▼8.61
Dashboard /wp-admin2,206 ▲275.03 ▼0.83105.05 ▲6.0736.52 ▼3.66
Posts /wp-admin/edit.php2,089 ▲32.03 ▲0.0335.21 ▲1.6333.80 ▼2.62
Add New Post /wp-admin/post-new.php1,530 ▼418.47 ▼4.61627.58 ▼94.0252.26 ▼2.46
Media Library /wp-admin/upload.php1,391 ▲34.18 ▼0.0295.39 ▲0.0843.16 ▼1.89

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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 fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/antylaykaua/antylaykaUA.php:30

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found


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
2 plugin tags: abuse, censorship

antylaykaua/antylaykaUA.php 92% from 13 tests

This is the main PHP file of "AntylaykaUA" version 1.00, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("antylaykaua.php" instead of "antylaykaUA.php")

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
Success! There were no dangerous files found in this plugin26 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin