83% 99fy-core

Code Review | Free WooCommerce Theme 99fy Extension

WordPress plugin Free WooCommerce Theme 99fy Extension scored 83% from 54 tests.

About plugin

  • Plugin page: 99fy-core
  • Plugin version: 1.2.3
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8
  • WordPress version: 5.9.2
  • First release: Nov 2, 2019
  • Latest release: Sep 1, 2021
  • Number of updates: 19
  • Update frequency: every 35.3 days
  • Top authors: hasthemes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

800+ active / 14,515 total downloads


Plugin footprint 82% 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.02MB] [CPU: ▼306.29ms] Passed 4 tests

An overview of server-side resources used by Free WooCommerce Theme 99fy Extension
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.0557.90 ▲0.92
Dashboard /wp-admin3.46 ▲0.0536.86 ▲2.49
Posts /wp-admin/edit.php3.69 ▲0.0539.94 ▲1.91
Add New Post /wp-admin/post-new.php6.94 ▼0.04101.65 ▼1,208.95
Media Library /wp-admin/upload.php3.34 ▲0.0425.18 ▼19.04

Server storage [IO: ▲32.45MB] [DB: ▲0.00MB] 67% from 3 tests

Filesystem and database footprint
Please fix the following
  • Total filesystem usage must be limited to 25MB (currently using 32.45MB)
Filesystem: 172 new files
Database: no new tables, 5 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Free WooCommerce Theme 99fy Extension
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,823 ▲6615.86 ▼0.196.04 ▼0.722.76 ▲0.07
Dashboard /wp-admin2,919 ▲516.11 ▼0.06124.45 ▼44.35184.33 ▲11.47
Posts /wp-admin/edit.php2,716 ▲253.24 ▲0.0264.47 ▲2.12142.29 ▼56.83
Add New Post /wp-admin/post-new.php1,724 ▲5621.06 ▲3.29442.73 ▲22.66218.95 ▲44.23
Media Library /wp-admin/upload.php1,719 ▲215.56 ▲0.11148.82 ▲3.62238.70 ▲44.47

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin does not fully uninstall, leaving 1 option in the database
    • nnfy_do_activation_redirect

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)
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 2× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/99fy-core/includes/demo_importer.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/99fy-core/admin/classes/templates_list.php:13

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


Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: elementor addon, one click demo, elementor page builder, woocommerce, elementor

99fy-core/nnfy_core.php 77% from 13 tests

The primary PHP file in "Free WooCommerce Theme 99fy Extension" version 1.2.3 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("99fy-core.php" instead of "nnfy_core.php")
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Description: Please don't use more than 140 characters for the plugin description (currently 157 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin259,778 lines of code in 78 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity16.05
▷ Minimum class complexity1.00
▷ Maximum class complexity72.00
Average method complexity2.95
▷ Minimum method complexity1.00
▷ Maximum method complexity25.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes22100.00%
▷ Final classes00.00%
▷ Static methods1710.00%
▷ Public methods14786.47%
▷ Protected methods1710.00%
▷ Private methods63.53%
▷ Named functions11100.00%
▷ Anonymous functions00.00%
▷ Global constants770.00%
▷ Class constants330.00%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.11MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/assets/images/menu-icon.png1.33KB0.69KB▼ 48.35%