84% fusion-extension-copyright

Code Review | Fusion Page Builder : Extension - Copyright

WordPress plugin Fusion Page Builder : Extension - Copyright scored84%from 54 tests.

About plugin

  • Plugin page: fusion-extension-...
  • Plugin version: 1.1.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-4.9.1
  • WordPress version: 6.3.1
  • First release: Aug 12, 2016
  • Latest release: Dec 14, 2017
  • Number of updates: 18
  • Update frequency: every 27.2 days
  • Top authors: agencydominion (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /4,805 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

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

This is a short check of server-side resources used by Fusion Page Builder : Extension - Copyright
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0139.19 ▼0.87
Dashboard /wp-admin3.32 ▲0.0145.36 ▼2.89
Posts /wp-admin/edit.php3.37 ▲0.0146.68 ▼1.26
Add New Post /wp-admin/post-new.php5.90 ▲0.0189.53 ▼0.21
Media Library /wp-admin/upload.php3.24 ▲0.0135.89 ▲0.28

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_theysaidso_widget
db_upgraded
widget_recent-posts
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Fusion Page Builder : Extension - Copyright
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲7913.16 ▼1.405.36 ▲3.7844.46 ▲5.82
Dashboard /wp-admin2,209 ▲245.91 ▲0.0996.54 ▼5.2537.43 ▼5.58
Posts /wp-admin/edit.php2,092 ▲62.04 ▲0.0340.00 ▲3.7235.80 ▲2.17
Add New Post /wp-admin/post-new.php1,542 ▲918.48 ▼4.67590.16 ▼91.4852.13 ▼1.53
Media Library /wp-admin/upload.php1,391 ▲64.16 ▼0.0895.97 ▼16.6243.04 ▼2.47

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 75% 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)
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion-extension-copyright/includes/extensions/copyright.php:18
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion-extension-copyright/fusion-extension-copyright.php:30

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 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
  • Tags: You are using too many tags: 13 tag instead of maximum 10
The official readme.txt is a good inspiration

fusion-extension-copyright/fusion-extension-copyright.php Passed 13 tests

The entry point to "Fusion Page Builder : Extension - Copyright" version 1.1.3 is a PHP file that has certain tags in its header comment area
39 characters long description:
Copyright Extension Package for Fusion.

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
Everything looks great! No dangerous files found in this plugin50 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2214650

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods2
▷ Static methods00.00%
▷ Public methods2100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin