83% 3d-effect-text

Code Review | 3D Effect Text

WordPress plugin 3D Effect Text scored83%from 54 tests.

About plugin

  • Plugin page: 3d-effect-text
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-4.8.1
  • WordPress version: 6.3.1
  • First release: Aug 12, 2017
  • Latest release: Aug 13, 2017
  • Number of updates: 23
  • Update frequency: every 0.0 days
  • Top authors: biscia7 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,193 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

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

Analyzing server-side resources used by 3D Effect Text
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0039.68 ▼0.30
Dashboard /wp-admin3.31 ▼0.0355.58 ▼9.82
Posts /wp-admin/edit.php3.36 ▲0.0055.37 ▲5.19
Add New Post /wp-admin/post-new.php5.89 ▲0.0086.01 ▼15.62
Media Library /wp-admin/upload.php3.23 ▲0.0036.84 ▼1.91

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

Analyzing filesystem and database footprints of this plugin
Please try to fix the following items
  • There were 1 file (4.00KB) illegally modified outside of "wp-content/plugins/3d-effect-text/" and "wp-content/uploads/"
    • (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by 3D Effect Text
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,816 ▲7014.45 ▲0.161.98 ▲0.3138.54 ▼8.88
Dashboard /wp-admin2,221 ▲185.80 ▼0.1099.50 ▼6.1237.75 ▼1.66
Posts /wp-admin/edit.php2,097 ▼32.02 ▲0.0240.62 ▲3.7837.60 ▲1.26
Add New Post /wp-admin/post-new.php1,526 ▼017.60 ▲0.10670.41 ▼10.5363.34 ▼2.85
Media Library /wp-admin/upload.php1,400 ▼34.22 ▼0.02102.68 ▲2.0546.39 ▲1.54

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/3d-effect-text/3D_effect_text.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Screenshots: Screenshot #1 (‘/screenshot-1.png’.) image not found
The official readme.txt is a good inspiration

3d-effect-text/3D_effect_text.php 92% from 13 tests

The main PHP file in "3D Effect Text" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("3d-effect-text.php" instead of "3D_effect_text.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
Everything looks great! No dangerous files found in this plugin40 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP13926
CSS10014

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin