90% popup-maker-buddypress-integration

Code Review | Popup Maker - BuddyPress Integration

WordPress plugin Popup Maker - BuddyPress Integration scored 90% from 54 tests.

About plugin

  • Plugin page: popup-maker-buddy...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-5.0.0
  • WordPress version: 6.3.1
  • First release: Oct 24, 2018
  • Latest release: Oct 24, 2018
  • Number of updates: 6
  • Update frequency: every 20.5 days
  • Top authors: danieliser (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active / 3,490 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 gracefully, with no errors

Server metrics [RAM: ▲0.01MB] [CPU: ▲0.82ms] Passed 4 tests

A check of server-side resources used by Popup Maker - BuddyPress Integration
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0254.69 ▼3.04
Dashboard /wp-admin3.32 ▲0.0155.15 ▼0.34
Posts /wp-admin/edit.php3.37 ▲0.0156.28 ▲4.61
Add New Post /wp-admin/post-new.php5.90 ▲0.01102.41 ▲9.68
Media Library /wp-admin/upload.php3.24 ▲0.0136.95 ▲2.03

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Popup Maker - BuddyPress Integration
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,810 ▼113.64 ▲0.402.39 ▼0.0543.90 ▼0.18
Dashboard /wp-admin2,219 ▲135.86 ▲1.03107.04 ▼6.5747.05 ▲4.02
Posts /wp-admin/edit.php2,098 ▲92.00 ▼0.0240.73 ▲0.0837.00 ▲1.40
Add New Post /wp-admin/post-new.php1,544 ▲1123.24 ▼0.24668.17 ▼101.7351.76 ▼6.50
Media Library /wp-admin/upload.php1,395 ▲104.29 ▲0.15101.44 ▼1.4943.28 ▼1.82

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Zombie WordPress options were found after uninstall: 7 options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • pum_buddypress_version_data
    • 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
Everything seems fine, however this is by no means 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: popup maker, buddypress, popup, targeting

popup-maker-buddypress-integration/popup-maker-buddypress-integration.php Passed 13 tests

This is the main PHP file of "Popup Maker - BuddyPress Integration" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
62 characters long description:
Adds integrated functionality between Popup Maker & BuddyPress

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
There were no executable files found in this plugin452 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP6157251452

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity10.00
▷ Minimum class complexity1.00
▷ Maximum class complexity21.00
Average method complexity2.93
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods28
▷ Static methods1346.43%
▷ Public methods2589.29%
▷ Protected methods00.00%
▷ Private methods310.71%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin