84% 3d-roll-over-links

Code Review | 3D Roll Over Links

WordPress plugin 3D Roll Over Links scored84%from 54 tests.

About plugin

  • Plugin page: 3d-roll-over-links
  • Plugin version: 0.1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.9.1
  • WordPress version: 6.3.1
  • First release: Apr 26, 2014
  • Latest release: Jul 5, 2014
  • Number of updates: 10
  • Update frequency: every 7.1 days
  • Top authors: Richzendy (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,003 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

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

An overview of server-side resources used by 3D Roll Over Links
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0143.81 ▼6.77
Dashboard /wp-admin3.32 ▲0.0248.29 ▼1.62
Posts /wp-admin/edit.php3.37 ▲0.0250.52 ▲2.79
Add New Post /wp-admin/post-new.php5.92 ▲0.0384.31 ▼18.85
Media Library /wp-admin/upload.php3.24 ▲0.0235.79 ▼0.96
3D Roll Over Links /wp-admin/options-general.php?page=roll_over_links_menu3.2130.95

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for 3D Roll Over Links
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,840 ▲9413.24 ▼1.162.24 ▲0.3042.82 ▼5.23
Dashboard /wp-admin2,219 ▲284.86 ▼0.04104.95 ▲1.5138.04 ▼2.35
Posts /wp-admin/edit.php2,099 ▲102.03 ▼0.0239.69 ▼2.3039.60 ▲3.50
Add New Post /wp-admin/post-new.php1,527 ▼623.50 ▲0.27700.51 ▼3.9160.13 ▲4.93
Media Library /wp-admin/upload.php1,395 ▲74.29 ▲0.08108.32 ▼11.4448.18 ▼2.24
3D Roll Over Links /wp-admin/options-general.php?page=roll_over_links_menu1,0413.7389.4538.51

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
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/3d-roll-over-links/admin/3d-roll-over-links-admin.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/3d-roll-over-links/3d-roll-over-links.php:20

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention: The official readme.txt might help

3d-roll-over-links/3d-roll-over-links.php Passed 13 tests

The main PHP file in "3D Roll Over Links" ver. 0.1.2 adds more information about the plugin and also serves as the entry point for this plugin
74 characters long description:
This plugin provides 3D roll over efect over links in to your post content

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected2,202 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript24831731,940
CSS1200132
PHP22917130

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.05
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin