83% profilepagemaker

Code Review | ProfilePageMaker

WordPress plugin ProfilePageMaker scored83%from 54 tests.

About plugin

  • Plugin page: profilepagemaker
  • Plugin version: 0.1
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Aug 1, 2015
  • Latest release: Aug 3, 2015
  • Number of updates: 4
  • Update frequency: every 1.8 days
  • Top authors: satisfied (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /578 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼2.96ms] Passed 4 tests

An overview of server-side resources used by ProfilePageMaker
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0242.16 ▼7.67
Dashboard /wp-admin3.33 ▲0.0349.46 ▼8.48
Posts /wp-admin/edit.php3.38 ▲0.0353.93 ▲0.93
Add New Post /wp-admin/post-new.php5.91 ▲0.0398.01 ▲3.40
Media Library /wp-admin/upload.php3.26 ▲0.0341.15 ▲5.58

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for ProfilePageMaker
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,801 ▲4014.29 ▼0.301.82 ▲0.1041.44 ▼0.45
Dashboard /wp-admin2,210 ▲335.66 ▼0.0686.16 ▼6.5839.60 ▼8.08
Posts /wp-admin/edit.php2,109 ▲62.00 ▼0.0338.98 ▼1.8733.89 ▼1.97
Add New Post /wp-admin/post-new.php1,541 ▲721.08 ▼2.33646.89 ▲35.3260.71 ▲12.03
Media Library /wp-admin/upload.php1,415 ▲154.24 ▲0.0596.84 ▼6.6943.86 ▲0.21

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
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
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/profilepagemaker/ProfilePageMaker.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 83% from 29 tests

readme.txt 75% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
  • Tested up to: Version not formatted correctly
  • Contributors: No tags were detected
  • Contributors: The plugin contributors field is missing
  • Requires at least: Version not formatted correctly
You can look at the official readme.txt

profilepagemaker/ProfilePageMaker.php 92% from 13 tests

Analyzing the main PHP file in "ProfilePageMaker" version 0.1
It is important to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("profilepagemaker.php" instead of "ProfilePageMaker.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected222 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP11011222

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.60
Average class complexity13.00
▷ Minimum class complexity13.00
▷ Maximum class complexity13.00
Average method complexity5.00
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods3
▷ Static methods00.00%
▷ Public methods3100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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
PNG images were not found in this plugin