90% fast-aweber

Code Review | Fast Aweber

WordPress plugin Fast Aweber scored90%from 54 tests.

About plugin

  • Plugin page: fast-aweber
  • Plugin version: 1.1.4
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.3
  • WordPress version: 6.3.1
  • First release: Dec 24, 2019
  • Latest release: Aug 10, 2023
  • Number of updates: 8
  • Update frequency: every 165.9 days
  • Top authors: fastflow (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /633 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

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

A check of server-side resources used by Fast Aweber
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0339.33 ▲1.26
Dashboard /wp-admin3.33 ▼0.0248.10 ▼16.14
Posts /wp-admin/edit.php3.44 ▲0.0946.72 ▼1.94
Add New Post /wp-admin/post-new.php5.91 ▲0.0283.55 ▼5.81
Media Library /wp-admin/upload.php3.25 ▲0.0235.38 ▼0.32

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
widget_theysaidso_widget
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

Fast Aweber: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲6814.35 ▼0.201.81 ▲0.1837.44 ▼3.51
Dashboard /wp-admin2,217 ▲405.62 ▲0.0990.65 ▼2.6444.34 ▲5.62
Posts /wp-admin/edit.php2,125 ▲222.12 ▲0.1138.30 ▼5.3838.60 ▲1.22
Add New Post /wp-admin/post-new.php1,392 ▼13620.06 ▼3.22517.77 ▼96.6452.29 ▼7.16
Media Library /wp-admin/upload.php1,422 ▲194.17 ▼0.08100.67 ▲0.7343.50 ▼0.24

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts

Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
  • Screenshots: Add an image for screenshot #1 (Enter your Aweber API details in the settings page of the Fast Flow Dashboard)
You can take inspiration from this readme.txt

fast-aweber/fast-aweber.php Passed 13 tests

The main PHP file in "Fast Aweber" ver. 1.1.4 adds more information about the plugin and also serves as the entry point for this plugin
26 characters long description:
Aweber addon for Fast Flow

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin455 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13512455

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity67.00
▷ Minimum class complexity67.00
▷ Maximum class complexity67.00
Average method complexity4.00
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods22
▷ Static methods00.00%
▷ Public methods22100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG files were detected