78% aeropage-sync-for-airtable

Code Review | Aeropage Sync for Airtable

WordPress plugin Aeropage Sync for Airtable scored78%from 54 tests.

About plugin

  • Plugin page: aeropage-sync-for...
  • Plugin version: 3.0.0
  • PHP compatiblity: 7.0.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0.2-6.2
  • WordPress version: 6.3.1
  • First release: Nov 9, 2022
  • Latest release: Jun 28, 2023
  • Number of updates: 56
  • Update frequency: every 4.1 days
  • Top authors: aeropage (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

90+ active /2,455 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.14MB] [CPU: ▼4.07ms] Passed 4 tests

Server-side resources used by Aeropage Sync for Airtable
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.62 ▲0.1647.93 ▲6.39
Dashboard /wp-admin3.46 ▲0.1151.10 ▼10.31
Posts /wp-admin/edit.php3.51 ▲0.1548.09 ▼4.00
Add New Post /wp-admin/post-new.php6.04 ▲0.1589.40 ▼5.51
Media Library /wp-admin/upload.php3.38 ▲0.1540.69 ▲3.54

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
db_upgraded
widget_recent-comments
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Aeropage Sync for Airtable
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,812 ▲5114.33 ▼0.402.09 ▲0.4241.50 ▼1.62
Dashboard /wp-admin2,215 ▲415.49 ▼0.1599.35 ▲5.2572.31 ▲36.18
Posts /wp-admin/edit.php2,120 ▲201.97 ▼0.0436.82 ▼2.6734.20 ▼5.50
Add New Post /wp-admin/post-new.php1,541 ▲623.59 ▲5.41697.39 ▲47.0170.55 ▲2.78
Media Library /wp-admin/upload.php1,417 ▲144.11 ▼0.04107.23 ▲6.4874.12 ▲32.79

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
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 50% 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 0% 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
Almost there! Just fix the following items
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/aeropage-sync-for-airtable/templates/app.php
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/aeropage-sync-for-airtable/aeropage.php:15

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: divi, airtable, elementor, custom post type, sync...

aeropage-sync-for-airtable/aeropage.php 92% from 13 tests

Analyzing the main PHP file in "Aeropage Sync for Airtable" version 3.0.0
Please make the necessary changes and fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("aeropage-sync-for-airtable.php" instead of "aeropage.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected14,385 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript12,7282,47513,179
PHP33061891,003
CSS1264183
SVG50020

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.35
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%
Functions24
▷ Named functions24100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.16MB with 0.09MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/aeropage_icon_300px.png5.82KB2.73KB▼ 52.99%
assets/aeropage_icon_200px.png3.97KB1.91KB▼ 52.00%
assets/aeropage_builder.png155.20KB63.88KB▼ 58.84%