84% eacmetapixel

Code Review | {eac}Doojigger MetaPixel Extension for WordPress

WordPress plugin {eac}Doojigger MetaPixel Extension for WordPress scored84%from 54 tests.

About plugin

  • Plugin page: eacmetapixel
  • Plugin version: 1.0.3
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5.0-6.3
  • WordPress version: 6.3.1
  • First release: Sep 6, 2022
  • Latest release: Sep 2, 2023
  • Number of updates: 20
  • Update frequency: every 18.1 days
  • Top authors: kevinburkholder (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /610 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
This plugin's installer ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼10.56ms] Passed 4 tests

A check of server-side resources used by {eac}Doojigger MetaPixel Extension for WordPress
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0036.40 ▼5.43
Dashboard /wp-admin3.31 ▼0.0444.85 ▼25.15
Posts /wp-admin/edit.php3.36 ▲0.0048.28 ▼2.45
Add New Post /wp-admin/post-new.php5.89 ▲0.0093.91 ▼9.21
Media Library /wp-admin/upload.php3.23 ▲0.0038.10 ▲2.34

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

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

Browser metrics Passed 4 tests

{eac}Doojigger MetaPixel Extension for WordPress: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.75 ▲0.481.98 ▲0.1240.00 ▼3.44
Dashboard /wp-admin2,186 ▲125.62 ▼0.0396.29 ▼7.5443.17 ▼4.42
Posts /wp-admin/edit.php2,100 ▼01.98 ▼0.0338.80 ▲0.9935.06 ▼1.24
Add New Post /wp-admin/post-new.php1,526 ▼223.55 ▲0.44673.95 ▲9.2452.91 ▼3.76
Media Library /wp-admin/upload.php1,397 ▲64.23 ▼0.01103.29 ▼0.4243.78 ▼1.25

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function EarthAsylumConsulting\\add_filter() in wp-content/plugins/eacmetapixel/eacMetaPixel.php:43
    • > PHP Fatal error
      Uncaught Error: Class 'EarthAsylumConsulting\\abstract_extension' not found in wp-content/plugins/eacmetapixel/Extensions/metapixel.extension.php:25

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: facebook pixel, facebook conversion, tracking, facebook tracking, eacdoojigger...

eacmetapixel/eacMetaPixel.php 85% from 13 tests

"{eac}Doojigger MetaPixel Extension for WordPress" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 141 characters long)
  • Main file name: The principal plugin file should be the same as the plugin slug ("eacmetapixel.php" instead of "eacMetaPixel.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 plugin949 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
Markdown11110564
PHP260155385

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.54
Average class complexity29.50
▷ Minimum class complexity2.00
▷ Maximum class complexity57.00
Average method complexity7.62
▷ Minimum method complexity1.00
▷ Maximum method complexity39.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods10
▷ Static methods00.00%
▷ Public methods770.00%
▷ Protected methods00.00%
▷ Private methods330.00%
Functions3
▷ Named functions00.00%
▷ Anonymous functions3100.00%
Constants1
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.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
No PNG files were detected