89% aweos-mobile-cta

Code Review | AWEOS Mobile CTA

WordPress plugin AWEOS Mobile CTA scored89%from 54 tests.

About plugin

  • Plugin page: aweos-mobile-cta
  • Plugin version: 1.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9.0-6.1
  • WordPress version: 6.3.1
  • First release: Jan 26, 2019
  • Latest release: Oct 12, 2023
  • Number of updates: 10
  • Update frequency: every 172.4 days
  • Top authors: aweos (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /627 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▲1.57ms] Passed 4 tests

An overview of server-side resources used by AWEOS Mobile CTA
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0244.43 ▲4.16
Dashboard /wp-admin3.33 ▲0.0348.36 ▲0.95
Posts /wp-admin/edit.php3.38 ▲0.0249.79 ▲1.16
Add New Post /wp-admin/post-new.php5.91 ▲0.02103.06 ▲10.07
Media Library /wp-admin/upload.php3.25 ▲0.0237.52 ▼0.00

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 9 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
awap-background-color
db_upgraded
theysaidso_admin_options
can_compress_scripts
awap-text-color
widget_recent-posts
awap-media-size

Browser metrics Passed 4 tests

AWEOS Mobile CTA: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,850 ▲10413.19 ▼1.081.94 ▲0.1348.52 ▲3.05
Dashboard /wp-admin2,222 ▲314.87 ▼0.0296.49 ▼8.7841.08 ▼4.88
Posts /wp-admin/edit.php2,105 ▲162.05 ▲0.0436.04 ▼1.1135.12 ▼2.32
Add New Post /wp-admin/post-new.php1,559 ▲4518.59 ▲1.10669.06 ▼39.0859.65 ▲7.94
Media Library /wp-admin/upload.php1,404 ▲134.23 ▲0.03102.54 ▲2.1842.25 ▼5.34

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
These items require your attention
  • Zombie WordPress options detected upon uninstall: 9 options
    • widget_theysaidso_widget
    • awap-background-color
    • widget_recent-comments
    • widget_recent-posts
    • awap-media-size
    • db_upgraded
    • awap-text-color
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
  • Screenshots: Screenshot #1 (English) image required
You can look at the official readme.txt

aweos-mobile-cta/aweos-mobile-cta.php 92% from 13 tests

The entry point to "AWEOS Mobile CTA" version 1.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin140 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP22315140

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.06
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
telefon-agentur-icon.png3.08KB3.22KB0.00%