90% fundamento

Code Review | Fundamento

WordPress plugin Fundamento scored90%from 54 tests.

About plugin

  • Plugin page: fundamento
  • Plugin version: 1.1.10
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.3.2
  • WordPress version: 6.3.1
  • First release: Mar 28, 2022
  • Latest release: Nov 7, 2023
  • Number of updates: 20
  • Update frequency: every 29.4 days
  • Top authors: torchsmith (55%)w3dev (50%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /4,706 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

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

Server-side resources used by Fundamento
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0046.42 ▲12.03
Dashboard /wp-admin3.31 ▼0.0443.25 ▼10.80
Posts /wp-admin/edit.php3.36 ▲0.0048.55 ▼0.84
Add New Post /wp-admin/post-new.php5.89 ▲0.0076.79 ▼24.57
Media Library /wp-admin/upload.php3.23 ▲0.0035.05 ▲1.97

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
widget_recent-comments
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Fundamento
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,807 ▲6014.68 ▲0.441.70 ▲0.1144.96 ▲7.07
Dashboard /wp-admin2,212 ▲315.64 ▼0.0596.00 ▼15.9842.69 ▲0.98
Posts /wp-admin/edit.php2,120 ▲171.98 ▲0.0340.37 ▲4.5636.26 ▲6.06
Add New Post /wp-admin/post-new.php1,538 ▲123.67 ▲0.59608.27 ▼64.7259.34 ▲5.66
Media Library /wp-admin/upload.php1,420 ▲234.20 ▼0.0199.17 ▲3.3443.49 ▼0.10

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options

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

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: template, skin, globals, elementor

fundamento/fundamento.php Passed 13 tests

The entry point to "Fundamento" version 1.1.10 is a PHP file that has certain tags in its header comment area
44 characters long description:
Additional Skins and Controls for Elementor.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin438 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP4128151438

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.48
Average class complexity25.67
▷ Minimum class complexity14.00
▷ Maximum class complexity46.00
Average method complexity1.77
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes133.33%
Methods16
▷ Static methods16.25%
▷ Public methods16100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions6
▷ Named functions00.00%
▷ Anonymous functions6100.00%
Constants3
▷ Global constants00.00%
▷ Class constants3100.00%
▷ Public constants3100.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