90% point-maker

Code Review | Point Maker

WordPress plugin Point Maker scored90%from 54 tests.

About plugin

  • Plugin page: point-maker
  • Plugin version: 0.1.4
  • PHP compatiblity: 5.6.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9.3-6.4
  • WordPress version: 6.3.1
  • First release: Oct 15, 2020
  • Latest release: Nov 2, 2023
  • Number of updates: 44
  • Update frequency: every 25.3 days
  • Top authors: back2nature (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active /3,611 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.01MB] [CPU: ▼11.26ms] Passed 4 tests

Server-side resources used by Point Maker
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0137.84 ▼6.40
Dashboard /wp-admin3.34 ▼0.0145.84 ▼16.03
Posts /wp-admin/edit.php3.39 ▲0.0349.24 ▼14.87
Add New Post /wp-admin/post-new.php6.26 ▲0.3798.99 ▼7.74
Media Library /wp-admin/upload.php3.26 ▲0.0338.81 ▲3.99

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

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

Browser metrics Passed 4 tests

Checking browser requirements for Point Maker
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲6814.23 ▼0.381.79 ▼0.0638.27 ▼5.37
Dashboard /wp-admin2,198 ▲175.66 ▼0.0587.35 ▼25.0138.48 ▼7.37
Posts /wp-admin/edit.php2,100 ▲32.02 ▲0.0841.59 ▲2.9935.56 ▲3.15
Add New Post /wp-admin/post-new.php7,140 ▲5,61427.69 ▲4.09911.39 ▲272.0238.06 ▼18.57
Media Library /wp-admin/upload.php1,400 ▼34.21 ▼0.0099.16 ▼0.7741.82 ▼1.33

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

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found

Optimizations

Plugin configuration Passed 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
7 plugin tags: point, main, frame, box, points...

point-maker/point-maker.php Passed 13 tests

The main file in "Point Maker" v. 0.1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
57 characters long description:
Make a frame that can be easily used for the main points.

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 plugin2,953 lines of code in 54 files:
LanguageFilesBlank linesComment linesLines of code
PHP16530941,297
JavaScript1936245705
PO File1188228520
CSS16670419
SVG10011
JSON1001

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions27
▷ Named functions2488.89%
▷ Anonymous functions311.11%
Constants4
▷ Global constants4100.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
There were not PNG files found in your plugin